Skip to main content
POST
Request the OTP

Authorizations

Authorization
string
header
required

Access token from POST /api/v1/client/token.

Body

application/json
waId
string
required

The user's WhatsApp number as WhatsApp sends it: country code, no +.

Example:

"573001234567"

Response

200 - application/json

Successful response

challengeId
string
required

Send it back in Verify the OTP.

channels
string[]

Where the code was sent, for example ["sms", "email"].

expiresIn
integer

Validity of the code, in seconds.

Example:

300