Chat
Create a chat
Initiate a new web chat session.
POST
Authorizations
Path Parameters
Account ID in the format ACCOUNT-xxxxxxxx
. Uniquely identifies your PolyAI account.
Project ID in the format PROJECT-xxxxxxxx
. Combined with the account_id
, this uniquely identifies a PolyAI project.
Body
application/json
Unique identifier for the user initiating the chat session. Useful for associating the chat with a specific user in your system.
The initial message content sent to start the chat session.
Optional metadata to provide additional context for the chat session. This can include custom attributes or other relevant information.
Response
201
application/json
Chat session created successfully.
A unique identifier for the created chat session. Used in subsequent operations.