Email sign-in: send code
Send a one-time sign-in code to your account’s email.
- Upstream
/passport/email/send_code/- Access
- Growth and up
- Runs on
- FullPool
- Client
os,app_flavour,app_versionselectable- Billing
- Failed calls are free
Authorization
Your API key. Create one in API keys.
Body
Send JSON with content-type: application/json.
The email on the account. For example [email protected].
android or ios. One of android, ios.
Which app to run as. One of tiktok, lite, lite_coin, pro, studio, shop, tv, douyin.
A release of that app. Defaults to the current default for (os, app_flavour). For example 47.6.3.
Two-letter country code for egress and storefront. For example US.
A city in that region. See the supported cities list. For example miami.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.