Skip to content

Overview

REST API of chat.centralcodestation.com. Every route is under /api/v1; routes are kebab-case and every field is snake_case.

Authentication: a bearer access token issued by the CCS Identity Server for the Chat API resource (aud = chat-api).

  • User tokens need the chat:access scope. What the user may do comes from their Chat permissions in the tenant/application context. A token issued to a tenant application’s own client works only in that application.
  • Machine tokens (client_credentials) need chat:sync or a granular scope (chat:conversations.read, chat:conversations.manage, chat:groups.manage, chat:channels.manage, chat:messages.send, chat:users.lookup) and work only in their own tenant and TENANT application.

Errors are { status_code, error, message, path, timestamp }; error is a stable snake_case code. Lists page with ?before=<next_cursor>&limit= (max 100).

Information

  • OpenAPI version: 3.0.0

Security scheme type: http

Bearer format: JWT