Send Conversation
POST
/api/message/conversation
message
1: Campaign.
2: Individual.
3: API
Tambien mencionar que si en caso usted envia tipo API, puede agrupar los envios con el campo campaignName colocando el nombre de campaña.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plazbot.com/api/message/conversation' \
--header 'x-workspace-id;' \
--header 'Content-Type: application/json' \
--data-raw '{
"workspaceId": "string",
"template": "string",
"destination": "string",
"variablesBody": [
{
"variable": "string",
"value": "string"
}
],
"variablesHeader": [
{
"variable": "string",
"value": "string"
}
]
}'
Response Response Example
{
"success": true,
"message": "Conversation sent successfully.",
"code": 200,
"data": {
"contactId": "string"
}
}
Request
Header Params
x-workspace-id
string
required
Body Params application/json