Skip to main content
Create a webhook

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
callbackUrl
string<uri>
required

Address every event is posted to. It has to be an absolute URL reachable from the platform whose endpoint accepts POST requests, and it must not carry a user name or a password (https://user:password@example.com/webhook) - HTTP Basic credentials belong in basicAuth.

Maximum string length: 2048
Example:

"https://example.com/webhook/circularo"

type
enum<string>
required

What the webhook watches: tenant for every document in the tenant, which only a system administrator may set up, or organization for the documents of a single organization. It is settled here for good and no later change can move the webhook to another context.

Available options:
tenant,
organization
Example:

"organization"

basicAuth
object | null

Credentials every delivery authenticates itself with, sent in an Authorization header. Omit them, or send null, to deliver without authentication. A webhook secures its deliveries either this way or with hmacSecret, never both.

hmacSecret
string | null

Secret every payload is signed with, as an HMAC-SHA256 signature delivered in the X-Circularo-Signature header in lowercase hexadecimal, so that the receiving endpoint can tell the request really comes from Circularo. It is computed over the raw request body, which is what the receiver has to verify it against, before parsing it. A webhook secures its deliveries either this way or with basicAuth, never both.

Maximum string length: 255
Example:

"your-secret-key"

name
string

Organization the webhook is to watch. A system administrator has to name an existing one when setting up an organization webhook; an organization administrator always gets their own, whatever is sent. It carries no meaning for a tenant-wide webhook, which is filed under the tenant itself.

Example:

"acme-corp"

Response

Returns the webhook as it was stored, including the identifier it is addressed by.

id
string
required

Identifier of the webhook. It is what addresses the webhook when it is changed or removed.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"as5Va0dUP6asH0asd95f"

basicAuth
object | null

How the deliveries authenticate themselves, or null when they are not authenticated this way. The password is write-only and never comes back, not even to the account that set the webhook up.

callbackUrl
string

Address every event is posted to. Any credentials an older record still carries in it are stripped out before it is handed over.

Example:

"https://example.com/webhook/circularo"

createDate
string<date-time>

When the webhook was set up.

Example:

"2026-03-14T09:12:44.318Z"

creator
string

Account that set the webhook up. It is the only one the secrets are readable by, and the one the delivery attempts are recorded against in the audit log.

Example:

"admin@example.com"

hmacSecret
string

Secret the payloads are signed with. Only the account that set the webhook up is shown it; everybody else is given a placeholder in its place, which is refused if it is sent back.

Example:

"your-secret-key"

name
string

The watched context itself - the organization's name for an organization webhook, the tenant's own for a tenant-wide one.

Example:

"acme-corp"

type
enum<string>

What the webhook watches: tenant for every document in the tenant, or organization for the documents of a single organization.

Available options:
tenant,
organization
Example:

"organization"