Developer API

Build on PermitJunkie

Read-only public knowledge endpoints and authenticated workspace endpoints for partners and integrations. JSON, CORS-enabled, versioned at /api/public/v1.

Authentication

Create an API key in Account → API Keys. Keys are workspace-scoped and shown once. Send them as a Bearer token:

curl https://permitjunkie.com/api/public/v1/me \
  -H "Authorization: Bearer pj_your_key_here"

Scopes: read (default) and write. Revoked or expired keys return 401.

Endpoints
GET/api/public/v1
public
GET/api/public/v1/me
auth
GET/api/public/v1/workspace/projects
auth
POST/api/public/v1/workspace/projects/create
auth
GET/api/public/v1/jurisdictions
public
GET/api/public/v1/permits
public
GET/api/public/v1/codes
public
GET/api/public/v1/ordinances
public
GET/api/public/v1/citations
public
Response shape

All responses use a consistent envelope:

// success
{ "ok": true, "data": { ... } }

// error
{ "ok": false, "error": { "code": "invalid_key", "message": "..." } }

Rate limits and per-key usage logs are visible in your Account → API Keys panel.