Send Message Whatsapp
POST
/api/message
message
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plazbot.com/api/message' \
--header 'x-workspace-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"contactId": "string",
"content": "string",
"recipientPhone": "string",
"workspaceId": "string",
"externalReferenceId": "string",
"agentSendedId": "string"
}'
Response Response Example
{
"success": true,
"message": "Message sent successfully.",
"code": 200,
"data": {
"contactId": "string",
"message": {
"id": "string",
"messageWhatsappId": "string",
"contactId": "string",
"content": "string",
"workspaceId": "string",
"recipientPhone": "string",
"externalReferenceId": "string",
"platformId": "string",
"answerAgentId": "string",
"answerType": "string"
}
}
}
Request
Header Params
x-workspace-id
string
required
Body Params application/json
Responses
Modified at 2025-04-21 19:17:38