Create a conversation
Create a new conversation with an agent and receive a session token.
Autorizações
Corpo
ID of the agent to converse with.
End-user identification stored on the conversation (e.g. {name, email, external_id}). Visible in the dashboard and available to the agent runtime when looking up user history. Not injected verbatim into the LLM context.
Free-form key/value pairs injected into the agent's system context for this conversation. Use for page URL, plan tier, language, etc. Keys and values must be JSON-serializable; keep payload small.
Free-form storage for the integrator. Saved with the conversation and returned on read. Not seen by the agent. Use for your own tracking IDs, campaign tags, audit fields, etc.
Resposta
Successful Response
Conversation identifier.
Bearer token to authenticate subsequent calls in this conversation.
Seconds until session_token expires.