POST
/
api
/
message
/
conversation
curl --request POST \
  --url https://api.plazbot.com/api/message/conversation \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "workspaceId": "string",
  "template": "string",
  "destination": "string",
  "variablesBody": [
    {
      "variable": "string",
      "value": "string"
    }
  ],
  "variablesHeader": [
    {
      "variable": "string",
      "value": "string"
    }
  ]
}'
{
  "success": true,
  "message": "Conversation sent successfully.",
  "code": 200,
  "data": {
    "contactId": "string"
  }
}

Headers

x-workspace-id
string
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.