Skip to main content
POST
For AI agents, use https://docs.tavus.io/openapi.yaml for the full HTTP API contract.
Use this endpoint to control a conversation from your backend. It takes the same payloads as the Interaction Events you send with Daily’s sendAppMessage, so you don’t need to join the call.

Authorizations

x-api-key
string
header
required

Path Parameters

conversation_id
string
required

The unique identifier of the conversation.

Example:

"c123456"

Body

application/json
message_type
string
required

The message type. Use conversation for interaction events.

Example:

"conversation"

event_type
string
required

The interaction to send, such as conversation.respond. See Interaction Events for every type and its properties.

Example:

"conversation.respond"

properties
object

The interaction's properties. Their shape depends on event_type.

conversation_id
string

Optional. Accepted so you can reuse the same payload you send over Daily. The conversation_id in the path is always used.

Example:

"c123456"

Response

Accepted. The interaction was queued for the PAL or relayed into the conversation's room. The response has no body.