SNA

Send message

Send a message to the active agent. Images are supported.

POST
/agent/send

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

session?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/agent/send" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "sent"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}