POST
/
v1
/
session
/
agent
/
send-message-to-human
curl --request POST \
  --url https://api.agentreach.ai/v1/session/agent/send-message-to-human \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sessionId": "<string>",
  "message": "<string>"
}'
{
  "shouldRetry": true,
  "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 human.

The body is of type object.

Response

200
application/json

Message sent successfully.

The response is of type object.