---
title: "Chat sessions"
method: GET
path: "/social-post-ideas/chat-sessions"
tags: ["Social Post Ideas"]
---

# Chat sessions

`GET /social-post-ideas/chat-sessions`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/social-post-ideas/chat-sessions`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/social-post-ideas/chat-sessions/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Query parameters

- `socialProfileId` string, required
- `limit` integer

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Response `200`

Successful response

- object
  - `data` object
    - `chatSessions` ChatSession[]
      - `id` string
      - `socialProfileId` string
      - `mode` string
      - `status` string
      - `messageCount` integer
      - `title` string
      - `createdAt` string

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
