API Reference
Create new chat
Creates a new chat instance for a user based on a provided API integration. Requires a valid platform token in the headers for authentication. Ensure the apiIntegrationId corresponds to an existing integration.
POST
Authorizations
Platform token required for authentication. Find or create one inside Profile Icon > API Keys. Example: Bearer sk-agencii-...
Body
application/json
Request body for the /create_new_chat endpoint.
The unique identifier of the API integration for which to create the chat. Example: "dpCD7snQ0tCWrdtp6UhZ"
Response
200
application/json
Chat created successfully. Returns the unique chatId for the new chat.
Response body for the /create_new_chat endpoint.
The unique identifier for the newly created chat. Example: "FVfA971B3fnBH4S1OKlo"