Events

Send messages to AI Agents and receive responses

Health check

get

Returns a simple status object to verify the service is running.

Responses
chevron-right
200

Service is healthy

application/json
statusstringOptionalExample: ok
get
/api/events
200

Service is healthy

Send a message to an AI Agent

post

Send a text or postback message to an AI Agent and receive the agent's response(s) synchronously. Use this endpoint for all conversational interactions.

Usage flow:

  1. Trigger the greeting with a postback message (type: "node", data: "greeting") to start a new session

  2. Send text messages for each conversation turn

  3. Use a consistent sender.id to maintain session context across messages

Authorizations
AuthorizationstringRequired

API Token from the console (Designer → Deployments → API → API Token)

Body
handlestringRequired

Agent deployment identifier (from console: Designer → Deployments → API → Identifier)

timestampnumberOptional

Unix timestamp in milliseconds

languagestringOptional

Language code override (e.g. "EN", "EL", "DE")

Responses
chevron-right
200

Agent response(s) returned successfully

application/json
statusstring · enumOptionalExample: okPossible values:
post
/api/events

Last updated

Was this helpful?