Run a schedule now

posthttps://api.expiryedge.com/v1/triggerWorkflowScheduleNow
editor or admin60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/triggerWorkflowScheduleNow?id=sch_6Yx4' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "message": "Run started",
  "run_id": "run_7Vb3"
}

Starts a run from the schedule immediately, notifies the owner when notify_owner is set, and advances next_run_at (a once schedule becomes completed). Counts against the plan workflow_runs limit (403 PlanLimitError).

Query-Parameter

  • idstringerforderlich
    Schedule id.

Rückgabe

200
Run started.
  • messagestringerforderlich
  • run_idstringerforderlich

Fehler

400
The request is missing required fields or contains invalid values.
401
Missing, expired or invalid bearer token.
403
Your role does not allow this action, the record is in another organization, or the plan limit was reached (body is PlanLimitError).
404
The record does not exist or is not in your organization.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.