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": 180,
  "polling_interval": 2,
  "provider": "google_agent_engine"
}'
{
  "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:180
polling_interval
integer
default:2
provider
string
default:google_agent_engine

Response

Successful Response

response
object
required