cURL
curl --request POST \ --url https://api.sandbox.immutable.com/passport-profile/v1/phone-otp \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "phone_number": "+61412345678", "channel": "sms" } '
{ "phone_number": "+61412345678" }
Send phone OTP code for user supplied phone number
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Phone number OTP request
Phone number
3 - 50
"+61412345678"
sms
whatsapp
"sms"
OK
Was this page helpful?