Vault Events

Create vault webhook subscription

Changed on

Creates a webhook subscription for vault lifecycle events. Optional object filters can limit notifications to specific vault objects.

post/vault/{id}/events/subscriptions

Request

  • Base URL
    https://api.case.dev
  • URL
    https://api.case.dev/vault/{id}/events/subscriptions
  • Auth
    HTTP bearer

Path parameters

idstring required

Vault ID

Headers

Idempotency-Keystring

Reusing a key for this Vault updates and returns the same webhook subscription.

Request body

callbackUrlstring uri required

Webhook endpoint URL that will receive vault event deliveries

eventTypesstring[]

Vault event types to deliver. Omit to receive the default supported set.

objectIdsstring[]

Vault object IDs to limit notifications to. Omit to receive events for all objects in the vault.

signingSecretstring

Optional secret used to sign outbound webhook deliveries

Response

Vault webhook subscription created successfully

Changes

    • info

      api tag Vault Events added

    • info

      api tag Vaults removed

    • info

      added the new optional header request parameter Idempotency-Key