Skip to main content
POST

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 currentPassword, or one of email or phone (not both).

newPassword
string
required
Maximum string length: 250
currentPassword
string
Maximum string length: 250
email
string<email>

Your account's email address. It must have been verified within the last hour.

phone
string

Your account's phone number. It must have been verified within the last hour.

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

"09120000000"

Response

The password was changed.

api_token
string

API token to send as Authorization: Bearer <api-token>.