Skip to content
Developer API2 min read

Understand the developer API

The Developer API lets your server-side application request supported ChatterMate.Ai capabilities using an API key. It is separate from signing in through the browser.

The in-product API documentation is the public reference for request formats and examples. Use it and your account’s Developer Console to confirm availability, permissions and limits.

Method Path Purpose
GET /api/v1/models Discover published API modes/models
POST /api/v1/responses Unified Responses JSON or streaming
POST /api/v1/chat/completions Chat Completions-compatible requests
POST /api/v1/messages Messages-compatible requests

Send the key in the Authorization: Bearer header; supported clients can also use X-API-Key. Test keys begin with cm_test_ and return mock output without provider generation charges. Live keys begin with cm_live_ and require approved live access, funding and model permissions.

Production API base URL: https://api.chattermate.ai. Development API base URL: https://api-chattermate-dev.chattermate.ai. Confirm the intended environment and access before calling. Keep the key on your server, never in a browser/client bundle.

Key-authenticated /api/chat/models, /api/chat/estimate and /api/chat/stream are retired by default and return 410 legacy_endpoint_retired; browser-cookie chat is a separate workflow. Do not use the older routes for a new integration.

A compatibility format does not force a particular upstream provider. Mode routing, eligibility and fallbacks come from the current catalog.

Continue with API keys, First request, and Streaming and errors.