Provision device
A dedicated mobile device context pinned to a city.
- Upstream
/service/2/device_register/- Access
- Growth and up
- Runs on
- Primitive
- Client
os,app_flavour,app_versionselectable- Billing
- Failed calls are free
- Older path
/v1/contexts/provision
Authorization
Your API key. Create one in API keys.
Body
Send JSON with content-type: application/json.
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.
One of 237 Android or 15 iOS hardware profiles. Omit for a random one.
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.