Skip to main content
POST
Confirm a verification code

Authorizations

X-API-Key
string
header
required

Body

application/json
verification_token
string
required

Token returned by the start call.

Maximum string length: 255
Pattern: ^[^\x00]{0,255}$
code
string
required

The code texted to the phone.

Maximum string length: 16
Pattern: ^[^\x00]{0,16}$

Response

OK

email
boolean
required

Email alerts are on.

sms
boolean
required

Text message alerts are on.

in_app
boolean
required

In-app alerts are on.

has_sms_channel
boolean
required

Whether a phone number has ever been set up.

sms_number
string | null

The verified number receiving texts, formatted for display.