v1Resources/Posts/getSearch Threads places

Search Threads places

Finds public places to tag a Threads post with. Returns Threads' own place ids: send one on the post as threadsLocationId, with its name as threadsLocationName. These are places on Threads, not Synup locations. The connection needs the locationSearch capability (see GET /api/v1/threads/capabilities); without it the request returns 409 with the reason in code.

get/api/v1/threads/locations
posts:read
Query parameters
connectionIdstringrequired
ID of the Threads connection to use.
qstringrequired
Search text for the place, 2 to 80 characters.
latitudenumberoptional
Optional point to search near. Send latitude and longitude together.
longitudenumberoptional
Optional point to search near. Send latitude and longitude together.
Response
dataarray of objectrequired
idstringrequired
namestringrequired
addressstringoptional
citystringoptional
countrystringoptional
postalCodestringoptional
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
409The request conflicts with the current state of the resource — for example, changing the email or phone of a recipient who has already been messaged, or a team invite that was already accepted (or hasn't been accepted yet).
429Too many requests. Retry after the number of seconds in the Retry-After header.
503The service is temporarily unavailable. Follow the retry guidance for this operation.
get/api/v1/threads/locations
Your API key
connectionId *
q *
latitude
longitude
{}

Guides that use this resource