Diverted Events API
This API Guide describes functionality for handling failed webhook event messages.
| Action | Endpoint |
|---|---|
| Fetch Diverted Event | GET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator} |
| Fetch Multiple Diverted Events | GET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted |
| Resend Diverted Event | POST/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}/resend |
| Delete Diverted Event | DELETE/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator} |
Fetch Diverted Event
Fetch Diverted Event
fetchDivertedEventGET
/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
webhookLocator | path | ulid | Yes | |
eventLocator | path | ulid | Yes |
Response:
DivertedEventResponseSecurity Group:
diverted-eventsPermission:
readFetch Multiple Diverted Events
Fetch Multiple Diverted Events
fetchMultipleDivertedEventsGET
/event/{tenantLocator}/webhooks/{webhookLocator}/divertedParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
webhookLocator | path | ulid | Yes | |
offset | query | integer? | No | |
count | query | integer? | No |
Response:
DivertedEventResponse[]Security Group:
diverted-eventsPermissions:
read,listDivertedEventResponse
Required properties
| Property | Type | Description |
|---|---|---|
eventLocator | ulid | |
requestLocator | ulid | |
failureMessage | string | |
failureTimestamp | datetime | |
failureTrigger | string |
Resend Diverted Event
Resend Diverted Event
resendDivertedEventPOST
/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}/resendParameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
webhookLocator | path | ulid | Yes | |
eventLocator | path | ulid | Yes |
Response:
objectSecurity Group:
diverted-eventsPermission:
resendDelete Diverted Event
Delete Diverted Event
deleteDivertedEventDELETE
/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tenantLocator | path | uuid | Yes | |
webhookLocator | path | ulid | Yes | |
eventLocator | path | ulid | Yes |
Response:
objectSecurity Group:
diverted-eventsPermission:
deleteFailureHandlingCreateRequest
Required properties
| Property | Type | Description |
|---|---|---|
alertEndpoint | CreateEndpointRequest | |
divert | boolean | |
retryStrategy | RetryStrategyCreateRequest | |
suspend | boolean | |
triggers | string[] |
FailureHandlingUpdateRequest
Required properties
| Property | Type | Description |
|---|---|---|
alertEndpoint | UpdateEndpointRequest | |
divert | boolean | |
removeAlertEndpoint | boolean | |
removeRetryStrategy | boolean | |
retryStrategy | RetryStrategyUpdateRequest | |
suspend | boolean | |
addTriggers | string[] | |
removeTriggers | string[] |
FailureHandlingResponse
Required properties
| Property | Type | Description |
|---|---|---|
alertEndpoint | EndpointResponse | |
divert | boolean | |
retryStrategy | RetryStrategyResponse | |
suspend | boolean | |
triggers | string[] |
RetryStrategyCreateRequest
Required properties
| Property | Type | Description |
|---|---|---|
attempts | integer | |
interval | integer | |
type | Enum linear | exponential |
RetryStrategyResponse
Required properties
| Property | Type | Description |
|---|---|---|
attempts | integer | |
interval | integer | |
type | Enum linear | exponential |
RetryStrategyUpdateRequest
Required properties
| Property | Type | Description |
|---|---|---|
attempts | integer | |
interval | integer | |
type | Enum linear | exponential |
See Also
- Events Feature Guide
- Webhooks Feature Guide
- Events API: Events API details, including a list of supported events