Edit a text message that you have sent. Messages can only be edited within 15 minutes of sending.
You can only edit messages within 15 minutes of sending them. After this time window, the edit will fail.
Request
The unique identifier of the message to edit
Device identifier for multi-device support. Required when multiple devices are registered. If only one device is registered, it will be used as the default.
The new text content for the messageExample: Hello World
Response
Response code (e.g., SUCCESS)
Response message describing the result
The ID of the edited message
Status of the edit operation
curl -X POST \
'https://your-api-domain.com/message/3EB0B430B6F8F1D0E053AC120E0A9E5C/update' \
-H 'Content-Type: application/json' \
-H 'X-Device-Id: my-device' \
-u 'username:password' \
-d '{
"phone": "[email protected]",
"message": "Hello World"
}'
{
"code": "SUCCESS",
"message": "Success",
"results": {
"message_id": "3EB0B430B6F8F1D0E053AC120E0A9E5C",
"status": "Message updated successfully"
}
}