Edit a text message
Edit the content of a previously sent text message.
Authentication Required
Login to swap the placeholders with your real Instance ID and Access Token.
Log InNo query parameters required
This endpoint doesn't expect data in the URL.
Best practices
Store the 'sentAt' timestamp to proactively manage the 15-minute edit window in your UI.
Use edits to update 'Status' messages instead of sending new messages for every state change.
Always handle 'message.edited' webhooks to keep your local CRM synced with the latest version of the text.
Request Parameters
Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.
Request Body
Sent as a JSON objectstring | WhatsApp Instance ID Example: | ||
string | API Access Token Example: | ||
string | Target Chat ID (phone@c.us or group@g.us) Example: | ||
string | Unique ID of the message Example: | ||
string | New text content for the message Example: |
Request Samples
Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.
Example
{
"success": true,
"message": "Operation completed successfully"
}Command Palette
Search for a command to run...