Handle Message Action
Edit or reject a specific message within a conversation.
POST
Headers
x-api-keystringrequiredAPI key used for authenticating requests to the API.
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
conversationIdstringrequiredThe unique identifier for the conversation containing the message.
messageIdstringrequiredThe unique identifier for the message to be acted upon.
Request Body
metadataobjectrequiredResponse Fields
statusstringThe status of the action, indicating success or failure.
messageobjectThe updated or rejected message details.
{
"status": "success",
"message": {
"_id": "64fbbc2e98312c4b82123456",
"message": "Hello, how can I assist you?",
"to": "+1234567890",
"sent": true,
"status": "approved",
"timestamp": "2024-12-03T12:00:00Z"
}
}