Skip to main content
Update a webhook

Authorizations

Authorization
string
header
required

Authorize using an API key. Send it in the Authorization: Bearer <api-key> header. Only API keys are accepted — session tokens are rejected. Create your first API key in the Circularo web app; further keys can be managed through this API.

Path Parameters

id
string
required

Identifier of the webhook to update.

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

"as5Va0dUP6asH0asd95f"

Body

application/json

Fields to update on a webhook. Omitted fields are left unchanged.

basicAuth
object | null

New HTTP Basic credentials. Send null to stop authenticating the deliveries. Inside the object, omit password to keep the stored one. Cannot be combined with hmacSecret.

callbackUrl
string<uri> | null

New HTTPS URL that will receive event notifications. It must not carry a user name or a password — put HTTP Basic credentials in basicAuth instead. It cannot be removed.

Maximum string length: 2048
Example:

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

hmacSecret
string | null

New secret used to sign each payload with an HMAC-SHA256 signature. Send null to stop signing the payloads. Cannot be combined with basicAuth.

Maximum string length: 255
Example:

"s3cr3t-signing-key"

Response

Returns the updated webhook.

A webhook subscription: its identifier, the HTTPS callback URL events are delivered to, who created it and how its deliveries are secured.

basicAuth
object | null
required

The HTTP Basic credentials the deliveries are authenticated with, or null when they are not authenticated that way.

callbackUrl
string<uri>
required

The HTTPS URL that receives event notifications for this webhook.

Example:

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

createdAt
string<date-time>
required

When the webhook was created.

Example:

"2024-11-02T09:15:30.000Z"

createdBy
object | null
required

The user who created the webhook. Null when it cannot be determined.

id
string
required

Stable identifier of the webhook. Use it to update or delete the webhook.

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

"as5Va0dUP6asH0asd95f"

isHmacConfigured
boolean
required

Whether payloads sent to this webhook are signed with an HMAC-SHA256 signature in the X-Circularo-Signature header.

Example:

true