34b7cf5b4b6c

latestOpenAPI 3.1.02026-08-122324681.8 MB
OAuth

Exchange authorization code for API key

Exchange an OAuth authorization code for a DualEntry API key.

post/public/v2/oauth/token/

Headers

Idempotency-Keystring

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.

Request body

grant_type'authorization_code' required
codestring required
code_verifierstring required
redirect_uristring required

Response

OK

api_keystring required
organization_idinteger required
user_emailstring required