Introduction

The Cognis Public API provides programmatic access to your organization data. Use it to build integrations, automate workflows, sync data with external systems, and receive real-time events via webhooks.

Base URL

All requests go to https://api.cognissuite.com/api/v1. Local development uses http://localhost:3013/api/v1.

OpenAPI schema

The machine-readable OpenAPI 3 spec is published at https://keolar.com/docs/openapi.json.

ChatGPT Custom GPT schemas

Import a schema URL in a Custom GPT Action. Auth: API key header Authorization with value Bearer cogn_…. Start every chain with GET /user/me to get userId, then list orgs. ChatGPT allows 30 actions and 1 MB per schema. Use one grouped commerce schema per GPT. The full spec is listed first for reference — it is over both ChatGPT limits.

Response format

All responses use the envelope format: { success, data?, message?, traceId?, meta? }. On success, data contains the payload. List endpoints may include meta.pagination with page, limit, and total.

Error format

On error, success is false and the response includes errors: [{ code, message }]. Use traceId for support and debugging.

Getting started

Create API keys at Account → Developer. Include the key in the Authorization: Bearer cogn_xxx header. See the Authorization guide for details.

Usage & pricing

See Usage & pricing for credits, storage, analytics, and AI token rates.