Skip to main content
POST
/
webhook-batch
/
{batch_id}
/
resend
Resend Events
curl --request POST \
  --url https://api.mailchannels.net/tx/v1/webhook-batch/{batch_id}/resend \
  --header 'X-Customer-Handle: <x-customer-handle>'
{
  "batch_id": 1,
  "created_at": "2023-11-07T05:31:56Z",
  "customer_handle": "<string>",
  "event_count": 1,
  "webhook": "<string>",
  "duration_in_ms": 1,
  "status_code": 123
}

Headers

X-Customer-Handle
string
required

Path Parameters

batch_id
integer
required

the ID of the batch

Response

Resend attempt completed. The result of the resend attempt is included in the response body. A successful response here does not mean the webhook endpoint responded with a 2xx status code, only that we were able to make the resend attempt and receive a response.

batch_id
integer<int64>
required

Unique identifier for the webhook batch

Required range: x >= 0
created_at
string<date-time>
required

Timestamp of when the webhook batch was created

customer_handle
string
required

Customer handle associated with the webhook batch

Maximum string length: 255
event_count
integer
required

Number of events in the webhook batch

Required range: x >= 0
webhook
string
required

Webhook URL to which events in the batch were posted

duration_in_ms
integer | null

Duration of the webhook batch in milliseconds, measured from the time the request was sent to the webhook endpoint until the response was received. Null indicates that no response was returned from the webhook endpoint.

Required range: x >= 0
status_code
integer | null

HTTP status code returned by the webhook endpoint. Valid values are 100-599. Null indicates that no response was returned from the webhook endpoint.

Required range: x <= 599