For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Workflows

Workflow and webhook management

Rerun Webhook

post
/project/{projectId}/rerun-webhook

Re-sends every task currently sitting in a webhook stage to that stage's webhook, in batches of 1000. The call returns once the tasks are queued, not once the webhook has answered. When stageId matches no stage, or matches a stage that is not a webhook stage, nothing is queued and the call still answers 200.

Authorizations
apikeystringRequired

API key for authentication. Format - apikey YOUR_API_KEY

Path parameters
projectIdstringRequired

Project ID

Body
stageIdstringRequired

ID of the webhook stage whose tasks are re-sent

Responses
200

Webhook rerun queued

application/json

The body carries no payload, the status code is the acknowledgement.

statusstringOptionalExample: success
dataobjectOptional
post/project/{projectId}/rerun-webhook
POST /v2/project/{projectId}/rerun-webhook HTTP/1.1
Host: imeritapi.ango.ai
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 18

{
  "stageId": "text"
}
{
  "status": "success",
  "data": {}
}

Last updated