Skip to content
SynupAPI
Get an API key
POSTapi.synup.com/api/v4/local-post-ideas/switch-chat-mode

Switch local chat mode

Switches the generation mode of an existing AI post-idea chat session (for example between a fast and a more thorough mode).

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

Parameters

Headers

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

Body

NameTypeRequiredDescription
sessionIdstringrequired
modestringrequired

Request

Request
curl -X POST 'https://api.synup.com/api/v4/local-post-ideas/switch-chat-mode' \
  -H 'Authorization: API YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "sessionId": "7f3c1a2e-...",
  "mode": "thorough"
}'

Responses

StatusDescription
200Successful response
401Unauthorized - Invalid or missing API key
Example response (generated from the schema)
{
  "data": {
    "switchLocalChatMode": {
      "success": true,
      "error": {
        "message": "string",
        "code": "string",
        "contextInfo": [
          {
            "key": "string",
            "value": "string"
          }
        ]
      }
    }
  }
}

Response body

NameTypeRequiredDescription
dataobjectoptional
data.switchLocalChatModeobjectoptional
data.switchLocalChatMode.successbooleanoptional
data.switchLocalChatMode.errorobjectoptional
data.switchLocalChatMode.error.messagestringoptional
data.switchLocalChatMode.error.codestringoptional
data.switchLocalChatMode.error.contextInfoarray of objectoptional
data.switchLocalChatMode.error.contextInfo[].keystringoptional
data.switchLocalChatMode.error.contextInfo[].valuestringoptional