POST
/
v1
/
chat
curl --request POST \
  --url https://api.eqho.ai/v1/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_id": "65b975d9242b1175c2622ec4",
  "messages": [
    {
      "role": "ai",
      "text": "Hey there, how'\''s it going?"
    },
    {
      "role": "user",
      "text": "Can you help me with a question?"
    }
  ]
}'
"<any>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

200
application/json
Successful Response

The response is of type any.