Skip to main content
POST
/
v1
/
oauth2
/
authorize
/
mfa
OAuth2 Authorize MFA
curl --request POST \
  --url https://api.aries.com/v1/oauth2/authorize/mfa \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "next_step_auth_id": "auth_mfa_123abc",
  "verification_code": "123456"
}
'
{
"client_name": "My Application",
"consent_required": true,
"next_step_auth_id": "auth_confirm_456def",
"scopes": [
"read",
"write"
]
}

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 /v1/oauth2/authorize

Example:

"auth_mfa_123abc"

verification_code
string
required

6-digit verification code sent to user's phone

Example:

"123456"

Response

MFA verification successful

client_name
string

Name of the OAuth2 client

Whether user consent is required

next_step_auth_id
string

Updated authorization session ID for next step

scopes
string[]

List of requested scopes