Email sign-in: send code
Send a one-time sign-in code to your account’s email.
Upstream
/passport/email/send_code/Growth and upParameters
| Name | Type | Description |
|---|---|---|
emailrequired | string | The email on the account. e.g. [email protected] |
os | string | android or ios. e.g. android |
app_flavour | string | Which app to run as. e.g. tiktok |
app_version | string | A release of that app. Defaults to the current default for (os, app_flavour). e.g. 47.6.3 |
region | string | Two-letter country code for egress and storefront. e.g. US |
city | string | A city in that region. See the supported cities list. e.g. miami |
Pricing
| Plan | Per call | Per 1,000 calls |
|---|---|---|
| Starter | 25 credits | $2.90 |
| Growth | 25 credits | $1.98 |
| Scale | 25 credits | $1.45 |
Connected sessions run on FullPool and are for accounts you own or are authorized to operate. Growth and up.
Responses
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining. Errors return a JSON body with a stable code and cost 0 credits. Error codes
curl -X POST https://api.tikultra.com/v1/account/login/otp/send \
-H "x-api-key: $TIKULTRA_KEY" \
-H "content-type: application/json" \
-d '{"email":"[email protected]","region":"US"}'{
"status": "code_sent",
"email": "[email protected]",
"expires_in_sec": 300,
"device_id": "7392011847562901234"
}More in Connected sessions
POST/v1/account/importImport session25 crPOST/v1/account/login/otp/verifyEmail sign-in: verify code25 crPOST/v1/account/sessionRefresh session25 crGET/v1/account/healthSession health15 crPOST/v1/account/warm/nicheWarm session for niche25 crGET/v1/account/upload/precheckUpload precheck15 crPOST/v1/account/upload/videoPublish video100 crPOST/v1/account/upload/slideshowPublish slideshow100 crPOST/v1/account/upload/deleteDelete post15 crPOST/v1/account/post/visibilityPost visibility15 crGET/v1/account/upload/placesPlaces for a post15 crPOST/v1/account/profile/updateUpdate profile25 crPOST/v1/account/profile/usernameChange username25 crPOST/v1/account/profile/avatarChange avatar25 crPOST/v1/account/profile/privacyPrivacy settings25 crPOST/v1/account/settingsApp settings15 crPOST/v1/account/wellbeingDigital wellbeing15 crPOST/v1/account/commentPost comment25 crPOST/v1/account/comment/likeLike comment15 crPOST/v1/account/comment/unlikeUnlike comment15 crPOST/v1/account/comment/deleteDelete comment15 crGET/v1/account/dm/inboxInbox20 crGET/v1/account/dm/conversation/listConversations20 crGET/v1/account/dm/conversation/messagesConversation messages20 crPOST/v1/account/dm/conversation/createStart conversation20 crPOST/v1/account/dm/conversation/readMark read20 crPOST/v1/account/dm/sendSend message35 crPOST/v1/account/dm/send-imageSend image35 crPOST/v1/account/dm/send-voiceSend voice note35 crPOST/v1/account/dm/replyReply to message35 crPOST/v1/account/dm/stickerSend sticker35 crPOST/v1/account/dm/share-videoShare video35 crPOST/v1/account/dm/reactReact to message15 crPOST/v1/account/dm/recallUnsend message15 crGET/v1/account/dm/group/infoGroup info20 crGET/v1/account/dm/group/membersGroup members20 crGET/v1/account/dm/streaksStreaks20 crPOST/v1/account/live/startStart LIVE100 crPOST/v1/account/live/pingLIVE heartbeat15 crPOST/v1/account/live/finishEnd LIVE15 crPOST/v1/account/live/moderateModerate LIVE20 crPOST/v1/account/live/cohostCo-host20 crPOST/v1/account/live/battleLIVE match20 crGET/v1/account/shop/cartCart25 crGET/v1/account/shop/order-centerOrders25 crGET/v1/account/shop/csShop support chat25 cr
Ready to build?
Start with 2,500 free credits and test every public endpoint, then pick a plan.