> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Security

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](https://mintcdn.com/circularo-developers/X-LJTeCStOAwoxOq/images/67043853--image-20240405-112658.png?fit=max\&auto=format\&n=X-LJTeCStOAwoxOq\&q=85\&s=fae75ab0391262d11ed0fe4fe2b92e82)

## The credential

Circularo API v2 accepts one credential: an API key, sent in the `Authorization` header.

```text theme={null}
Authorization: Bearer YOUR_API_KEY
```

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`.

> [!WARNING]
>
> 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](https://developers.circularo.com/introduction/get-your-first-api-key.md) covers issuing a key in the web app; issuing, listing and revoking keys through the API is covered by [Authenticate and manage API keys](https://developers.circularo.com/guides/getting-started/authentication.md).

## 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](https://developers.circularo.com/webhooks) describes the events and the payload, and the [React to events with webhooks](https://developers.circularo.com/guides/robust-integrations/webhooks.md) guide includes a receiver that verifies a signature.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.