Skip to main content
POST
/
v1
/
auth
/
{app_id}
/
otps
/
verify
Verify OTP code
curl --request POST \
  --url https://{defaultHost}/v1/auth/{app_id}/otps/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Authorization: <api-key>'
{
  "access": "<string>",
  "refresh": "<string>",
  "csrf": "<string>",
  "access_expires_at": "2023-11-07T05:31:56Z",
  "refresh_expires_at": "2023-11-07T05:31:56Z",
  "user_id": "<string>",
  "key_id": "<string>"
}

Authorizations

Authorization
string
header
required

API Secret token

X-Authorization
string
header
required

User Access token

Path Parameters

app_id
string
required

App ID

Response

OTP verified successfully

access
string

JWT access token

refresh
string

JWT refresh token

csrf
string

CSRF token for protected operations

access_expires_at
string<date-time>

Access token expiration timestamp

refresh_expires_at
string<date-time>

Refresh token expiration timestamp

user_id
string

App user ID

key_id
string

App key ID for JWT verification