Log in with a password
Exchanges your email address (or phone number) and password for an API token. If two-factor authentication is enabled on your account, send the second factor in the same request.
This endpoint is rate limited. Too many requests return 429.
Query Parameters
How long the issued token stays valid.
1h, 1d, 7d, 30d, 180d, 1y Body
Send exactly one of email or phone.
250Account email address. Required unless phone is sent.
Iranian mobile number in the form 09XXXXXXXXX.
^09\d{9}$"09120000000"
Which second factor you're sending. Required when two-factor authentication is enabled on the account.
totp, recoveryCode 6-digit code from your authenticator app. Required when twoFAType is totp.
6One of your 10-character recovery codes. Required when twoFAType is recoveryCode.
10