Get webhook event
Retrieves detailed information about a specific webhook event by its ID.
Note: Webhook events are retained for 31 days only. After the retention period expires, the events are permanently removed and cannot be retrieved using either the List Webhook Events or Get Webhook Event endpoints.
- Http request
- GET /webhooks/{webhookId}/events/{webhookEventId}
- Authentication
-
Authentication Type Supported Organization User (CustomerEmployee) Yes Delegated User (EndUser) No Service Account Yes - Required permissions
- Webhooks:Events:Read (always required)
- Authorization requirements
-
Header Type Required Description Authorizationstring Yes Bearer token used to authenticate the request. See Authentication flows for instructions on generating this token. - Path parameters
-
Parameter Type Required Description webhookId string Yes ID of the webhook. Must match the pattern wh-xxxxx-xxxxx-xxxxxxxxxxxxxx.webhookEventId string Yes ID of the webhook event. Must match the pattern whe-xxxxx-xxxxx-xxxxxxxxxxxxxx. - Request body
-
curl --request GET \ --url https://api.digitalassets.ibm.com/webhooks/{webhookId}/events/{webhookEventId} \ --header 'Authorization: Bearer <token>' - Response
- 200: Success
Example response:
{ "id": "<string>", "date": "<string>", "kind": "policy.triggered", "data": {}, "status": "<string>", "timestampSent": 123, "error": "<string>" }