Skip to content
SynupAPI
Get an API key
GETapi.synup.com/api/v4/social-post-ideas/chat-sessions

Chat sessions

Returns the AI post-idea chat sessions for a brand (social profile), most recent first. Use limit to cap the number of sessions returned.

Requires an API key. Send it as Authorization: API <your-key> — see Getting started.

Parameters

Query

NameTypeRequiredDescription
socialProfileIdstringrequiredSocial profile ID.
limitintegeroptionalMaximum number of sessions to return.

Headers

NameTypeRequiredDescription
Synup-VersionstringrequiredAPI version date (YYYY-MM-DD).

Request

Request
curl -X GET 'https://api.synup.com/api/v4/social-post-ideas/chat-sessions?socialProfileId=&limit=' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "chatSessions": [
      {
        "id": "string",
        "socialProfileId": "string",
        "mode": "string",
        "status": "string",
        "messageCount": 0,
        "title": "string",
        "createdAt": "string"
      }
    ]
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.chatSessionsarray of objectoptional
data.chatSessions[].idstringoptional
data.chatSessions[].socialProfileIdstringoptional
data.chatSessions[].modestringoptional
data.chatSessions[].statusstringoptional
data.chatSessions[].messageCountintegeroptional
data.chatSessions[].titlestringoptional
data.chatSessions[].createdAtstringoptional