Retrigger events
Last updated: July 3, 2024
Learn how to rerun past events so you can trigger your workflow actions again – useful if you want to test a workflow that previously failed.
Information
You can only resend webhooks for events that occurred within the previous 90 days.
Use the following endpoint to retrigger past events associated with multiple event IDs and workflow IDs, or multiple subject IDs (for example, payment IDs and dispute IDs) and workflow IDs.
Your can find the full specification in our API reference.
For the full API specification, see the API reference.
post
https://api.checkout.com/workflows/events/reflow
Field name | Description |
---|---|
required array | A list of IDs for the events you want reflowed. |
optional array | A list of IDs for the workflows whose actions you want to trigger. |
1{2"events": ["evt_lzmo6p0i3612judj754w1ngtil", "evt_05z6xuagtti48ajyfbuekg6a0a"],3"workflows": ["wf_sq8jnqi9i749hhb470bu308uk2", "wf_bz91q7i4ks4sr0kasmas2xhp56"]4}
If successful, you'll receive a 202 success response.
Pass an event's ID in the path of the following endpoint to rerun a single past event. This will trigger the actions of any existing workflows that are conditional on that event.
Your can find the full specification in our API reference.
For the full API specification, see the API reference.
post
https://api.checkout.com/workflows/events/{eventId}/reflow
If successful, you'll receive a 202 success response.
Pass an event ID and a workflow ID in the path of the following endpoint to retrigger all the actions associated with that specific event and workflow combination.
Your can find the full specification in our API reference.
For the full API specification, see the API reference.
post
https://api.checkout.com/workflows/events/{eventId}/workflow/{workflowId}/reflow
If successful, you'll receive a 202 success response.
Pass a subject ID (for example, a payment ID or a dispute ID) in the path of the following endpoint to rerun any events associated with it and retrigger the actions of any associated workflows.
Your can find the full specification in our API reference.
For the full API specification, see the API reference.
post
https://api.checkout.com/workflows/events/subject/{subjectId}/reflow
If successful, you'll receive a 202 success response.
Pass a subject ID (for example, a payment ID or a dispute ID) and a workflow ID in the path of the following endpoint to retrigger all the actions associated with that specific subject and workflow combination.
Your can find the full specification in our API reference).
For the full API specification, see the API reference.
post
https://api.checkout.com/workflows/events/subject/{subjectId}/workflow/{workflowId}/reflow
If successful, you'll receive a 202 success response.