CCS Chat support
Overview
CCS Chat API 1.0
Section titled “CCS Chat API 1.0”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:accessscope. 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) needchat:syncor 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).
Authentication
Section titled “Authentication”bearer
Section titled “bearer”Security scheme type: http
Bearer format: JWT