Retrigger Failed Webhook Events

There are two flavours of this endpoint:

  1. Retrigger failed webhook events within a time window of 1 day goes back to last 30 days.

  2. Retrigger failed webhook events for given shipment ids.

SecurityOAuth2.0
Request
header Parameters
x-api-key
string
tenant-id
string
Content-Type
string
Default: application/json
Request Body schema: application/json
required
One of:
webhook_id
required
string
start_date
required
string <date-time>

The start date and time in ISO 8601 format with milliseconds. Pattern: yyyy-MM-dd'T'HH:mm:ss.SSSZ

end_date
required
string <date-time>

The end date and time in ISO 8601 format with milliseconds. Pattern: yyyy-MM-dd'T'HH:mm:ss.SSSZ

Responses
200
post/webhooks/retrigger
Request samples
application/json
{
  • "webhook_id": "string",
  • "start_date": "2023-03-22T10:15:30.123Z",
  • "end_date": "2023-03-22T10:15:30.123Z"
}
Response samples
application/json
{
  • "events_found": 0,
  • "events_triggered": 0,
  • "message": "string"
}