Pin Chat Message
Pins an existing Twitch chat message in the selected channel. For more information, see the Twitch API Reference Guide for Pin Chat Message.
| Box Name | Type | Description |
|---|---|---|
| Channel | Dropdown | Twitch channel where the message should be pinned. Leave empty to use the default account. |
| Message ID | String | Message ID to pin. Leave empty to use message_id from the trigger pull data. |
| Duration (s) | Number | Optional pin duration in seconds. Twitch allows 30 to 1800 seconds. Leave empty to pin until the stream ends. |
Requires the
moderator:manage:chat_messages Twitch scope.
Twitch API Endpoint: POST /helix/chat/pins
| Request Field | Type | Description |
|---|---|---|
| broadcaster_id | String | The ID of the broadcaster’s channel in which to pin the message |
| moderator_id | String | The ID of a moderator or the broadcaster who is pinning the message |
| message_id | String | The ID of the message to pin |
| duration_seconds | Integer | Optional. Duration in seconds to pin the message (30–1800). Omit to pin until stream ends |