Skip to main content
POST
Confirm a phone verification code

Authorizations

Authorization
string
header
required

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

application/json
phone
string
required

Iranian mobile number in the form 09XXXXXXXXX.

Pattern: ^09\d{9}$
Example:

"09120000000"

nationalCode
string
Pattern: ^\d{10,12}$
token
string

The 6-digit SMS code.

Required string length: 6

Response

Confirmed. The response body is empty.