POST
/
v1
/
session
/
client
/
send-message-to-agent
curl --request POST \
  --url https://api.agentreach.ai/v1/session/client/send-message-to-agent \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sessionId": "<string>",
  "message": "<string>"
}'
{
  "id": "<string>",
  "sessionId": "<string>",
  "message": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "fromAgent": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Message details to send to the agent.

The body is of type object.

Response

200
application/json

Message sent successfully.

The response is of type object.