Skip to content

Update Message



PUT /admin/message

Updates the body of a previously sent message. Only the sender can edit the message. All online participants of the conversation will receive the updated message in real-time.

{ Admin-Api-Key: {{ HTTP_ADMIN_API_KEY }} }

Content-Type: application/json

{
"organizationId": "680a2fae96cc69d78861f101",
"senderId": "63480e68f4794709f802a2fa",
"messageEdit": {
"id": "63077ad836b78c3d82af0812",
"body": "updated message body"
}
}
FieldTypeDescription
organizationIdstringOrganizationId performing request
senderIdstringUser ID of the sender (must match the original message sender)
messageEdit.idstringMessage ID to be edited
messageEdit.bodystringNew content for the message body
{
"success": true
}