Skip to main content
The Cominty API is a standard HTTPS/JSON API for chatting with agents and managing conversation threads. These seven endpoints are exactly what the Python SDK calls — use the SDK for the smoothest experience, or call them directly.

Base URL

Authentication

Send your API token in the x-cominty-token header on every request. Create a token on the API keys page at platform.cominty.ai.
Every request is scoped to one end user via user_id — sent in the request body (options.user_id) for chat calls, or as a query parameter for thread listings. The SDK fills this in for you from the client’s configured user.

Endpoints

Response shapes differ per endpoint. POST /chat returns a full thread, but POST /chat/{id} returns a bare message. GET /chat/{id} returns a full thread, but PUT /chat/{id} returns a summary with no messages. Check each endpoint page for its exact response.
Each endpoint page below includes a live playground — add your token and try a real request.