---
title: "Local active chat session"
method: GET
path: "/local-post-ideas/active-chat-session"
tags: ["Local Post Ideas"]
---

# Local active chat session

`GET /local-post-ideas/active-chat-session`

## Request

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

Returns the currently active AI post-idea chat session for a location, if one exists. Use this to resume an in-progress conversation. Set `excludeSeries` to skip sessions that belong to a content series.

## Query parameters

- `locationId` string, required
- `excludeSeries` boolean

## Headers

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

## Response `200`

Successful response

- object
  - `data` object
    - `localActiveChatSession` LocalChatSession
      - `id` string
      - `locationId` integer
      - `mode` string
      - `status` string
      - `messageCount` integer
      - `title` string
      - `subjectType` string
      - `subjectId` string
      - `createdAt` string
      - `updatedAt` 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)
