Zapier

Authorize Zapier

Mint an authorization code for the logged-in firm admin and return the Zapier redirect URL (with code + state appended) for the SPA to navigate to. Cookie-authenticated and same-site (called by our own frontend).

post/zapier/oauth/authorize

Request body

client_idstring required

OAuth client_id supplied by Zapier

redirect_uristring required

Zapier callback the code is delivered to

response_typestring

Must be 'code'

scopestring nullable

Requested scope (optional)

statestring nullable

Opaque CSRF value echoed back to Zapier

Response

Successful Response

redirect_tostring required

Zapier redirect_uri with ?code=...&state=... appended

Changes

No recorded changes to this endpoint across all 1 revision of this API.