Actions38
- Teams Actions
- Threads Actions
- Messages Actions
- Account Links Actions
- Members Actions
- Prospects Actions
- Tags Actions
- Statuses Actions
- Colors Actions
- Events Actions
Messages → Threads Thread Messages Message Edit
AI-generatedSummary
Edit a message in a thread. Only works for X Chat (encrypted DM) threads.
Inputs
- threadId (required) — The ID of the thread containing the message.
- messageId (required) — The ID of the message to edit.
- content (required) — The new content for the message.
- requestOptions — Batching and other request settings. Includes batching (items per batch, batch interval) for throttling requests.
- allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
- proxy — HTTP proxy to use. If authentication is required it can be defined as: http://username:password@myproxy:3128
- timeout — Time in ms to wait for the server to send response headers (and start the response body) before aborting the request.
Output shape
The API response from InboxApp, typically the updated message object. Exact return shape not documented in properties; behavior grounded in the PATCH request routing.
This operation sends a PATCH request to /threads/{threadId}/messages/{messageId}. It is only supported for X Chat (encrypted DM) threads. Message content is sent as the request body via the 'content' parameter.
Examples
Example 1: Edit the content of a specific message in an X Chat thread.
Set threadId to the thread's ID, messageId to the target message's ID, and content to the new message text. Optional requestOptions can be used to enable batching for throttling if multiple edits are performed sequentially.