Create a conversation
Conversations
Create a conversation
Creates a new web conversation bound to a chosen agent and returns its identifiers so the client can navigate to the new thread and begin sending messages. Scoped to the caller’s workspace; the agent_id must belong to the caller’s workspace (otherwise 404). The caller is added as the conversation owner. Returns 402 if the workspace is out of credits, since the first turn would be refused.
POST
Create a conversation
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Body
application/json
The agent the user picked in the modal. Tenant-scoped: we refuse to create against an agent_id that doesn't live in the caller's workspace.