webhooks

Re-send past events to this endpoint, by time range and/or a single event id.

post/webhooks/{id}/replay

Request

  • Base URL: https://api.agentisend.com
  • URL: https://api.agentisend.com/webhooks/{id}/replay
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Query parameters

sincestring date-time
untilstring date-time
event_type'email.queued' | 'email.sent' | 'email.delivered' | 'email.delivery_delayed' | 'email.bounced' | 'email.complained' | 'email.opened' | 'email.clicked' | 'email.failed' | 'email.scheduled' | 'email.canceled' | 'email.suppressed' | 'domain.created' | 'domain.verified' | 'domain.failed' | 'domain.updated' | 'domain.deleted' | 'suppression.added' | 'suppression.removed' | 'limit.warning' | 'limit.exceeded' | 'agent.approval_requested' | 'agent.approved' | 'agent.rejected' | 'agent.killed' | 'contact.created' | 'contact.updated' | 'contact.deleted' | 'segment.joined' | 'segment.left' | 'segment.created' | 'segment.updated' | 'segment.deleted' | 'broadcast.scheduled' | 'broadcast.sent' | 'broadcast.updated' | 'automation.triggered' | 'email.received' | 'topic.created' | 'topic.updated' | 'topic.deleted' | 'contact.subscribed' | 'contact.unsubscribed' | 'trust.warning' | 'trust.throttled' | 'trust.paused' | 'trust.appealed' | 'trust.restored'
event_idstring uuid
'true'
OR
'false'
OR
boolean

Headers

Idempotency-Keystring

Makes this call safe to retry. Send the same key with the same body and the original response is replayed instead of the work happening twice. Keys are 1-256 characters and are remembered for 7 days. While the first attempt is still running, a second call with that key returns 409 idempotency_in_flight (Resend calls this concurrent_idempotent_requests); the same key with a different body returns 409 idempotency_payload_mismatch (Resend: invalid_idempotent_request). Resend-Idempotency-Key is accepted as the same header.

Resend-Idempotency-Keystring

Alias of Idempotency-Key. Idempotency-Key wins if both are sent.

Response

Success

OR

Changes

No recorded changes to this operation across all 1 revision of this API.