Skip to Content
APIReferenceWebhooks API

Webhooks API

7 operations from the external ASIRI OpenAPI surface.

Public endpoint

GET/v1/webhooks/subscriptions

List webhook subscriptions for the active tenant

Requireswebhooks:read

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

No path or query parameters.

Request body

No request body.

Responses

Public endpoint

POST/v1/webhooks/subscriptions

Create a webhook subscription

Requireswebhooks:write

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

No path or query parameters.

Request body

application/jsonobject

Responses

Public endpoint

GET/v1/webhooks/subscriptions/{id}

Fetch a single webhook subscription

Requireswebhooks:read

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

NameInRequiredSchemaDescription
idpathyesstring-

Request body

No request body.

Responses

Public endpoint

PATCH/v1/webhooks/subscriptions/{id}

Update a webhook subscription

Requireswebhooks:write

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

NameInRequiredSchemaDescription
idpathyesstring-

Request body

application/jsonobject

Responses

Public endpoint

DELETE/v1/webhooks/subscriptions/{id}

Delete a webhook subscription

Requireswebhooks:write

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

NameInRequiredSchemaDescription
idpathyesstring-

Request body

No request body.

Responses

Public endpoint

GET/v1/webhooks/subscriptions/{id}/deliveries

Fetch the delivery log for a subscription

Requiresaudit:read

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

NameInRequiredSchemaDescription
idpathyesstring-
cursorquerynostring-
limitquerynointeger-

Request body

No request body.

Responses

Public endpoint

POST/v1/webhooks/subscriptions/{id}/test

Enqueue a test event for a subscription

Requireswebhooks:write

Security

bearerAuthorization: Bearer <ASIRI_API_KEY>

Parameters

NameInRequiredSchemaDescription
idpathyesstring-

Request body

No request body.

Responses