Workflows
Stop Workflow Run
Stop a running run
curl -X POST https://api.phones.inc/v1/workflows/runs/stop \
-H "Authorization: Bearer ph_your_api_key" \
-H "Content-Type: application/json" \
-d '{"runId": "wfr_Zt8kPq2LmN1x"}'
{
"ok": true,
"data": {
"runId": "wfr_Zt8kPq2LmN1x",
"stopped": true
}
}
⌘I
curl -X POST https://api.phones.inc/v1/workflows/runs/stop \
-H "Authorization: Bearer ph_your_api_key" \
-H "Content-Type: application/json" \
-d '{"runId": "wfr_Zt8kPq2LmN1x"}'
{
"ok": true,
"data": {
"runId": "wfr_Zt8kPq2LmN1x",
"stopped": true
}
}