Replay webhook event

http
POST /projects/{project_reference}/webhooks/{webhook_id}/events/{webhook_event_id}/replay

Send the stored payload of a webhook event to the current target of the webhook again, for example after a failed run; returns the new webhook event that the replay created.

Parameters

NameInRequiredDescription
project_referencepathYes
webhook_idpathYesThe webhook id. Task and workflow targets accept a project-execution credential that carries native source authority from project.runs.write instead of project.agents.write. Agent targets require project.agents.write, plus project.conversations.write for conversation-backed targets.
webhook_event_idpathYesStored delivery to replay: a new webhook event is created from its payload and run through the webhook target. Task and workflow targets accept a project-execution credential that carries native source authority from project.runs.write instead of project.agents.write. Agent targets require project.agents.write, plus project.conversations.write for conversation-backed targets.

Responses

StatusDescription
202Replay accepted: a new webhook event created from the stored payload and run through the webhook target.
400invalid_input: invalid body or parameters
401unauthenticated
403forbidden: a project member without the required capability
404not_found: project or webhook not found or not visible
412conflict: project automation is on hold
500internal
503internal: authentication state is temporarily unavailable, or run admission is fenced and no run was admitted; retry shortly, after the Retry-After delay when one is sent