Skip to main content
POST

Body

application/json

Request body for verifying an OTP authentication challenge.

method
enum<string>
required

The authentication method being verified.

Available options:
otp
challengeId
string
required

The challenge ID to verify.

code
string
required

The one-time passcode used to verify the authentication challenge.

Required string length: 6
Pattern: ^[0-9]{6}$

Response

Ok. The operation succeeded.

A short-lived session proving control of an unregistered phone number.

token
string
required

An opaque token bound to the verified phone number and used as the registration idempotency key.

Required string length: 32 - 512
expiresAt
string<date-time>
required

The time after which the registration session can no longer be used.