POST
/
v1
/
{account_id}
/
{project_id}
/
chat
/
respond

Authorizations

x-api-key
string
header
required

Path Parameters

account_id
string
required

Account ID in the format ACCOUNT-xxxxxxxx. Uniquely identifies your PolyAI account.

project_id
string
required

Project ID in the format PROJECT-xxxxxxxx. Combined with the account_id, this uniquely identifies a PolyAI project.

Body

application/json
chat_id
string

A unique identifier for the chat session. Returned from the create endpoint and required to interact with the chat.

message
string

The content of the chat message.

Response

200 - application/json
status
string

Indicates whether the message was successfully sent.