Send a message (Legacy)
POST/chat.sendMessage
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Legacy: Prefer /chat.post. This endpoint is maintained for backwards compatibility only.
Send a markdown-formatted text message to a single group, addressed by recipients (a one-element array containing the group ID). New integrations should use /chat.post, which also supports DMs, threads, Block Kit, and polls.
The optional sender object follows the same semantics as /chat.post โ see the Sender Profiles guide.
Required scope: chat:send_message
OpenAPI Spec: chat-v1.json
Requestโ
Responsesโ
- 200
- 400
- 401
- 403
- 413
- 500
Message sent successfully
Bad request. Common causes:
- Missing
text(No text provided) - No recipient specified (
No recipients specified) - More than one recipient (
More than one recipient is not supported) - Recipient is not a valid group UUID (
Invalid group ID) sender.nameexceeds 128 characters, orsender.imageUrlis not an absolute HTTP(S) URL
Invalid authentication credentials, or the target group belongs to a different account.
Missing required scope (chat:send_message).
Message text exceeds the maximum size (8000 bytes).
An internal error occurred.