Skip to main content
POST
/
public
/
v2
/
oauth
/
token
Exchange authorization code for API key
curl --request POST \
  --url https://api.dualentry.com/public/v2/oauth/token/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "code": "<string>",
  "code_verifier": "<string>",
  "redirect_uri": "<string>"
}
'
{
  "api_key": "<string>",
  "organization_id": 123,
  "user_email": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dualentry.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

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 May 29, 2026