Socotra
API ReferenceEvents API

Diverted Events API

This API Guide describes functionality for handling failed webhook event messages.

ActionEndpoint
Fetch Diverted EventGET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}
Fetch Multiple Diverted EventsGET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted
Resend Diverted EventPOST/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}/resend
Delete Diverted EventDELETE/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}

Fetch Diverted Event

Fetch Diverted EventfetchDivertedEvent
GET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
webhookLocatorpathulidYes
eventLocatorpathulidYes
Security Group:diverted-events
Permission:
read

Fetch Multiple Diverted Events

Fetch Multiple Diverted EventsfetchMultipleDivertedEvents
GET/event/{tenantLocator}/webhooks/{webhookLocator}/diverted

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
webhookLocatorpathulidYes
offsetqueryinteger?No
countqueryinteger?No
Security Group:diverted-events
Permissions:
read,list
DivertedEventResponse

Required properties

PropertyTypeDescription
eventLocatorulid
requestLocatorulid
failureMessagestring
failureTimestampdatetime
failureTriggerstring

Resend Diverted Event

Resend Diverted EventresendDivertedEvent
POST/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}/resend

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
webhookLocatorpathulidYes
eventLocatorpathulidYes
Response:object
Security Group:diverted-events
Permission:
resend

Delete Diverted Event

Delete Diverted EventdeleteDivertedEvent
DELETE/event/{tenantLocator}/webhooks/{webhookLocator}/diverted/{eventLocator}

Parameters

NameInTypeRequiredDescription
tenantLocatorpathuuidYes
webhookLocatorpathulidYes
eventLocatorpathulidYes
Response:object
Security Group:diverted-events
Permission:
delete
FailureHandlingCreateRequest

Required properties

PropertyTypeDescription
alertEndpointCreateEndpointRequest
divertboolean
retryStrategyRetryStrategyCreateRequest
suspendboolean
triggersstring[]
FailureHandlingUpdateRequest

Required properties

PropertyTypeDescription
alertEndpointUpdateEndpointRequest
divertboolean
removeAlertEndpointboolean
removeRetryStrategyboolean
retryStrategyRetryStrategyUpdateRequest
suspendboolean
addTriggersstring[]
removeTriggersstring[]
FailureHandlingResponse

Required properties

PropertyTypeDescription
alertEndpointEndpointResponse
divertboolean
retryStrategyRetryStrategyResponse
suspendboolean
triggersstring[]
RetryStrategyCreateRequest

Required properties

PropertyTypeDescription
attemptsinteger
intervalinteger
typeEnum linear | exponential
RetryStrategyResponse

Required properties

PropertyTypeDescription
attemptsinteger
intervalinteger
typeEnum linear | exponential
RetryStrategyUpdateRequest

Required properties

PropertyTypeDescription
attemptsinteger
intervalinteger
typeEnum linear | exponential

See Also

On this page