Skip to main content
POST
Send a password change 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

Send exactly one of email or phone.

email
string<email>
phone
string

Iranian mobile number in the form 09XXXXXXXXX.

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

"09120000000"

Response

The code was sent.

status
enum<string>
Available options:
success