Send API Chat Message

Sends a message to your Twitch chat from your default account that is connected to SAMMI.\

Box Name Type Description
Chat Message String The message to be sent over the chat.
From String The channel you want to send messages from.
Channel Name String Channel Name (all lowercase) to send the message to. Leave blank unless you have multiple accounts connected to SAMMI.
Pin Message Checkbox If checked, the message is sent and pinned for 20 minutes.

For more information, see the Twitch API Reference Guide for Send Chat Message.

Twitch API Endpoint: POST /helix/chat/messages

Request Field Type Description
broadcaster_id String The ID of the broadcaster’s channel the message is sent to
sender_id String The ID of the user sending the message
message String The message to send (max 500 characters)
reply_parent_message_id String Optional. ID of the chat message to reply to

Response Fields:

Variable Name Type Description
message_id String The ID assigned to the message sent
is_sent Boolean Whether the message was sent
drop_reason.code String Reason code if the message was dropped (e.g. channel_settings_block)
drop_reason.message String Human-readable explanation if the message was dropped
Back to the list