Create Chat
Chats
Create Chat
Creates a new chat session for a workflow or other resource. The chat ID is required when running workflows via the API.
POST
Create Chat
Creates a new chat session. A chat is required before running a workflow via the API — the chat ID is passed to
POST /workflow-requests/run.
Usage
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the chat session |
resource_type | string | Yes | Must be api |
resource_id | string | Yes | ID of the resource (workflow ID, agent ID, etc.) |
metadata | object | No | Optional metadata |
Response
Notes
Authentication required: The chat is automatically associated with the authenticated user.
Authorizations
API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings
Body
application/json

