Authentication and keys
Service keys, permissions and how Comms tells callers apart.
Service keys
Apps call Comms with a service key, sent in the X-Api-Secret header over HTTPS. Create one per app in the admin panel under Services; the key is shown once, so keep it in your app's secret store. A key belongs to one organisation: everything it sends and reads is that organisation's. Revoke a key there at any time; rotate by creating a new one and revoking the old.
X-Api-Secret: <your service key>
Signed-in people (the admin panel) use their KPass session instead. The same routes accept both.
Permissions
Every call is also checked against KPass, the Klivolks identity service. A service or person needs the permission for what they do, named comms.<feature>.<action>, for example comms.providers.create or comms.jobs.view. A missing permission is 403. Grant them to roles or services in KPass.
Callback secret
A service can also have a callback URL and secret (set on the service under Services). Comms signs every status callback it sends to that service with the secret; see Status callbacks.
API reference
The full, always-current reference is the Swagger page of your Comms instance at /swagger (and /openapi.json), open to any signed-in caller.