Get webhook notification details
Webhook-Notifications
/api/partner/v2/webhook-notifications/{id}
GET
Get webhook notification details
Retrieves the full details of a single webhook notification, including its original payload, delivery status, retry history, and the error response from the last failed attempt.
For an overview of webhook events and payload structures, see the Webhooks Guide.
Important Notes
latestErrorPayload: Contains the error body returned by your endpoint on the last failed delivery attempt. Use this to diagnose why delivery failed (e.g. a500from your server).retryAttempts: The number of automatic delivery attempts made by Capa. After the maximum is reached, status transitions toFAILED.manualRetryCount: Incremented each time you call the retry endpoint. A maximum of 3 manual retries are allowed per notification.
Status Reference
| Status | Description |
|---|---|
PENDING | Queued for delivery or currently being retried |
SENT | Successfully delivered to your endpoint |
FAILED | All automatic delivery attempts exhausted |
NOT_SENT | No webhook URL was configured at the time of the event |
Error Codes
Common Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
Endpoint-Specific Errors
| HTTP Status | Code | Message |
|---|---|---|
| 404 | NOT_FOUND | ”Webhook notification not found” |
Headers
Api key for the affiliated partner that is performing the request
Path Parameters
The webhook notification ID
Example:
"8374f327-38bd-4b0b-b8a7-2524599eb903"