Skip to main content
POST
/
api
/
v1
/
eai-gateway
/
chat
Handle Chat
curl --request POST \
  --url https://services.staging.app.dados.rio/eai-agent/api/v1/eai-gateway/chat \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_number": "<string>",
  "message": "<string>",
  "timeout": 300,
  "polling_interval": 2,
  "provider": "google_agent_engine",
  "reasoning_engine_id": "<string>"
}
'
{
  "response": {}
}

Authorizations

Authorization
string
header
required

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

Body

application/json
user_number
string
required
message
string
required
timeout
integer
default:300
polling_interval
integer
default:2
provider
string
default:google_agent_engine
reasoning_engine_id
string | null

Response

Successful Response

response
Response · object
required