OAuth
Exchange authorization code for API key
Changed onExchange an OAuth authorization code for a DualEntry API key.
Side effects
- If a CLI-generated API key exists for this user in this organization, DualEntry deactivates it, then creates a new CLI API key.
post/public/v2/oauth/token/
Request
- Base URL: https://api.dualentry.com
- URL: https://api.dualentry.com/public/v2/oauth/token/
- Auth: none declared
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
Response
OK
Changes
- info
added the new optional
headerrequest parameterIdempotency-Key
- info