---
search:
  tags:
    - Chat bot
    - POST
seo:
  description: >-
    The bot says your message in the streamer's chat - every connected chat by…
    Reference for the POST /chat/messages endpoint in the TipPage Developer API.
sidebar:
  label: Send a chat message
  badge: POST
title: Send a chat message
type: openapi-operation
---
The bot says your message in the streamer's chat - every connected chat by default, or just Twitch or Kick with `platform` - spoken by the same identity as every other bot line (TipPageBot or the linked custom bot on Twitch; the TipPage account on Kick). Sent verbatim - no template variables - and it can't start with `/` or `!`, so the bot never runs slash commands or triggers other bots. Own rate limit on top of the global ones: 20 messages per 30 seconds per streamer, shared across all keys. Requires `chat:write`.

`POST /chat/messages`

**Request body** (`application/json`, required)

- `message` (string, required) — What the bot says. Can't start with \`/\` or \`!\`.
- `platform` (string) — Which chat to speak in. \`all\` = every chat the streamer has connected.

Request body example:

```json
{
  "message": "string",
  "platform": "twitch"
}
```

**Responses**

- `200` — Done.
- `400` — Missing message (\`bad\_request\`), over 500 characters (\`message\_too\_long\`), or disallowed content (\`message\_disallowed\`).
- `401` — Missing or invalid credential (\`missing\_api\_key\` / \`invalid\_api\_key\`, or \`invalid\_token\` for an expired/revoked OAuth access token).
- `403` — The key lacks the required scope (\`missing\_scope\`).
- `409` — The bot can't speak right now: switched off in the dashboard (\`bot\_disabled\`), no connected channel on the requested platform, or not connected to the channel yet (\`bot\_unavailable\` - transient when the channel exists, retry shortly).
- `429` — Rate limit exceeded - check the \`RateLimit-\*\` headers.
- `502` — The chat gateway is unreachable (\`gateway\_unavailable\`) - retry shortly.

Response example, 200:

```json
{
  "success": true
}
```
