Skip to main content
GET
/
accounts
/
{id}
/
dms
/
thread
Look up a DM thread by user ID
curl --request GET \
  --url https://api.social-api.ai/v1/accounts/{id}/dms/thread \
  --header 'Authorization: <api-key>'
{
  "thread_id": "t_17841405793187218"
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer soc_live_...

Path Parameters

id
string
required

Connected account ID

Query Parameters

user_id
string
required

Platform-specific user ID to look up

Response

Thread ID for the existing conversation

thread_id
string
Example:

"t_17841405793187218"