Confirm a phone verification code
Confirms a code from POST /v1/send-phone-token.
-
First verification: send
phone,nationalCodeandtoken. Your phone and national code are saved and marked verified. -
Confirming your current phone (before a change): send your current
phoneandtoken, withoutnationalCode. This opens a 5-minute window to change your phone. -
Finishing a phone change: send the new
phone,nationalCodeandtokenwithin that window.
A newly verified number may also be added as an SMS notification channel.
Too many wrong codes are rejected with 429.
Authorizations
Send your API token as Authorization: Bearer <api-token>. Tokens expire (30 days by default) and stop working when you change or reset your password.
Body
Response
Confirmed. The response body is empty.
