Platform Integration
Search TikTok locations
Search TikTok's place database for the location_id needed to tag a location on a post. TikTok requires the id and the name together: send them as tiktok_location_id + tiktok_location_name. Returns at most 20 matches; an empty array means TikTok found no match, and is a 200 rather than an error.
get/uploadposts/tiktok/locations
Query parameters
profilestring required
Profile username. Must have a TikTok account connected.
qstring required
Free-text search query (venue, brand or place name).
Response
Matching places.
Example response
{
"success": true,
"locations": [
{
"location_id": "v2_2f4a1b9c8e",
"location_name": "Museo Nacional del Prado",
"location_address": "C. de Ruiz de Alarcon, 23, 28014 Madrid, Spain"
}
]
}Changes
Changed in 1 of the 4 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○