Skip to main content
POST
Exchange authorization code for API key

Authorizations

X-API-KEY
string
header
required

Headers

Idempotency-Key
string

Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.

Maximum string length: 255

Body

application/json
grant_type
enum<string>
required
Available options:
authorization_code
code
string
required
code_verifier
string
required
redirect_uri
string
required

Response

OK

api_key
string
required
organization_id
integer
required
user_email
string
required
Last modified on August 21, 2026