Skip to main content

Reprocess Webhook Events

POST 

/api/xero/webhook-settings/:integrationInstanceId/events/reprocess

Reprocess webhook events in bulk: each targeted event is reset to received status and a background job is queued per event to re-fetch the referenced record's current state from Xero. Returns immediately with the number of events queued; processing happens asynchronously.

Authorization

Any valid API token can call this endpoint — no specific scope required. Manage tokens.

Body (one of two selection modes):

  • event_ids (array of integers, required unless apply_to_all is true): explicit event IDs to reprocess. Each ID must exist.
  • apply_to_all (boolean, optional): when true, reprocess every event matching filters instead of an explicit ID list.
  • filters (object, optional, used with apply_to_all): flat filter map using the same keys as List Webhook Events' filter[...] parameters, e.g. {"status": "failed", "event_category": "INVOICE"}.

Authentication: Bearer token.

Request

Responses

OK

Response Headers
    Content-Type