POST
/
api
/
agent
/
on-message
Send Message to Agent
curl --request POST \
  --url https://api.plazbot.com/api/agent/on-message \
  --header 'Content-Type: application/json' \
  --header 'x-workspace-id: <x-workspace-id>' \
  --data '{
  "workspaceId": "string",
  "template": "string",
  "destination": "string",
  "sessionId": "string"
}'
{
  "success": true,
  "answer": "Response <answer>"
}

Headers

x-workspace-id
string
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.