Resolve TikTok username to IDs
Returns the numeric user_id and the sec_user_id for a TikTok username (handle without @). Other user endpoints take one of these IDs.
2 credits / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
username*string
TikTok handle without the leading @, for example khaby.lame.
Length
1 <= lengthcurl -X GET "https://example.com/v2/tiktok/app/user/resolve?username=khaby.lame" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "sec_user_id": "string", "user_id": "string", "property1": null, "property2": null }}