Workflows
Workflow and webhook management
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:
successdataobjectOptional
401
Unauthorized - invalid or missing API key
application/json
403
Forbidden - insufficient permissions
application/json
404
Resource not found
application/json
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

