Send messages to an agent within a session and receive a streaming response.

Authentication

AuthorizationBearer

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

Path parameters

agent_idstringRequired
session_idstring or nullRequiredformat: "uuid"

Request

This endpoint expects an object.
messageslist of objectsRequired
List of incoming user messages and drive file references.
metadatamap from strings to anyOptional

Optional metadata (e.g., salesforce_session)

callback_urlstring or nullOptional

Optional callback URL. If provided, the interaction runs asynchronously and the response returns 202 with session_id + events_url.

Response

Successful Response

Errors