Skip to main content
This page covers the three places where security is your concern when you integrate: the channel your requests travel over, the credential you send with them, and the callbacks Circularo sends back to you.

Transport

All traffic goes over TLS with a publicly trusted certificate; plain-HTTP connections on port 80 are redirected to HTTPS. Communication schema

The credential

Circularo API v2 accepts one credential: an API key, sent in the Authorization header.
Session tokens are not accepted. A token obtained by signing in to the web app is refused with 403, whatever permissions the account behind it holds — integrations authenticate with API keys, and only with API keys.

Handling your key

  • The secret is returned once, in the response that creates the key, and cannot be retrieved later; the web app shows only a masked preview, and GET /api-keys returns the key’s identifier, description and timestamps, never the secret.
  • A key acts as the account it was issued to and carries exactly that account’s permissions — no more, no less.
  • Keys are independent of one another: revoking one leaves the others working.
  • Revocation takes effect immediately and cannot be undone. A revoked key is refused with 401.
An API key is a secret credential. Keep it in a secret manager or an environment variable — never in source control, and never in client-side code, where anyone can read it.
If a key may have been exposed, revoke it. That ends its access at once, whatever holds it, and a replacement can be issued and put in place beforehand so nothing is interrupted. Get your first API key covers issuing a key in the web app; issuing, listing and revoking keys through the API is covered by Authenticate and manage API keys.

Callbacks

Webhook callbacks travel in the other direction, so verifying them is your side of the work. A webhook registered through the API delivers to https addresses only. A webhook can authenticate its deliveries with HTTP Basic credentials (basicAuth) or with an HMAC signature (hmacSecret). With a secret, every delivery carries an X-Circularo-Signature header holding the HMAC-SHA256 of the raw request body, hex-encoded; recompute it over the bytes you received, before parsing them, and compare with a timing-safe comparison. With neither, the deliveries are unauthenticated, and a callback URL is reachable by anyone — a request arriving there proves nothing on its own. Webhook events describes the events and the payload, and the React to events with webhooks guide includes a receiver that verifies a signature.