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.
- Full Public API (all endpoints; not for a single Custom GPT) — https://keolar.com/docs/openapi.json
- Org, brand, profile, settings (≤30) — https://keolar.com/docs/openapi/commerce-actions/org-brand.json
- Products and catalog (≤30) — https://keolar.com/docs/openapi/commerce-actions/products.json
- Collections and landing slugs (≤30) — https://keolar.com/docs/openapi/commerce-actions/collections.json
- Orders and customers (≤30) — https://keolar.com/docs/openapi/commerce-actions/orders.json
- Checkout, shipping, discounts (≤30) — https://keolar.com/docs/openapi/commerce-actions/checkout.json
- Domains and brand launch (≤30) — https://keolar.com/docs/openapi/commerce-actions/domains.json
- Translations, reviews, GMC, analytics (≤30) — https://keolar.com/docs/openapi/commerce-actions/channels.json
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.