Webhooks API
7 operations from the external ASIRI OpenAPI surface.
Public endpoint
GET/v1/webhooks/subscriptions
List webhook subscriptions for the active tenant
Requires
webhooks:readSecurity
bearer
Authorization: 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
Requires
webhooks:writeSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
No path or query parameters.
Request body
application/jsonobjectResponses
Public endpoint
GET/v1/webhooks/subscriptions/{id}
Fetch a single webhook subscription
Requires
webhooks:readSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
| Name | In | Required | Schema | Description |
|---|---|---|---|---|
id | path | yes | string | - |
Request body
No request body.
Responses
Public endpoint
PATCH/v1/webhooks/subscriptions/{id}
Update a webhook subscription
Requires
webhooks:writeSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
| Name | In | Required | Schema | Description |
|---|---|---|---|---|
id | path | yes | string | - |
Request body
application/jsonobjectResponses
Public endpoint
DELETE/v1/webhooks/subscriptions/{id}
Delete a webhook subscription
Requires
webhooks:writeSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
| Name | In | Required | Schema | Description |
|---|---|---|---|---|
id | path | yes | string | - |
Request body
No request body.
Responses
Public endpoint
GET/v1/webhooks/subscriptions/{id}/deliveries
Fetch the delivery log for a subscription
Requires
audit:readSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
| Name | In | Required | Schema | Description |
|---|---|---|---|---|
id | path | yes | string | - |
cursor | query | no | string | - |
limit | query | no | integer | - |
Request body
No request body.
Responses
Public endpoint
POST/v1/webhooks/subscriptions/{id}/test
Enqueue a test event for a subscription
Requires
webhooks:writeSecurity
bearer
Authorization: Bearer <ASIRI_API_KEY>Parameters
| Name | In | Required | Schema | Description |
|---|---|---|---|---|
id | path | yes | string | - |
Request body
No request body.