Skip to main content
POST
/
v1
/
oauth2
/
authorize
/
confirm
OAuth2 Authorize Confirm
curl --request POST \
  --url https://api.aries.com/v1/oauth2/authorize/confirm \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "next_step_auth_id": "auth_confirm_456def"
}
'
{
  "code": "auth_code_abc123xyz789def456",
  "redirect_uri": "https://yourapp.com/callback"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
next_step_auth_id
string
required

Authorization session ID from previous step (/v1/oauth2/authorize or /v1/oauth2/authorize/mfa)

Example:

"auth_confirm_456def"

Response

Authorization confirmed, code generated successfully

code
string
required

Single-use authorization code to exchange for tokens (expires in ~10 minutes)

redirect_uri
string<uri>
required

Redirect URI registered with the client