Update a message
POST/chat.update
Edit a previously posted bot message. The updated message can contain plain markdown text or rich Block Kit layouts.
The bot must own the message being updated (matched by address ID). Personal access tokens are not supported for this endpoint.
Access: Organization only.
Required scope: chat:send_message or chat:write
OpenAPI Spec: chat.json
Request
Responses
- 200
- 400
- 401
- 403
- 405
- 413
- 500
Message updated successfully
Bad request. Common causes:
- Invalid chat ID
- Invalid or missing
timestamp - Both
text/itemsandblocksprovided (mutually exclusive) blocksarray exceeds 10 blocks or 8,000 bytes- Invalid block structure (see Block Kit guide)
- Interactive buttons sent without an Interactivity URL configured
- Invalid
colorvalue - Personal access token used (not supported)
- Bot does not own the message
Presented invalid authentication credentials.
Forbidden. The bot lacks access to the target chat.
An unsupported method was requested.
Message content exceeds the maximum allowed size.
An internal error occured.