curl --request POST \
--url https://prod.featherhq.com/api/v1/workflow/{workflowId}/executions/cancel \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"phoneNumber": "+14155551234"
}
'{
"cancelledCount": 123
}Cancel all running agent workflow executions for a given phone number. Returns the count of cancelled executions.
curl --request POST \
--url https://prod.featherhq.com/api/v1/workflow/{workflowId}/executions/cancel \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"phoneNumber": "+14155551234"
}
'{
"cancelledCount": 123
}Phone number in E.164 format
^\+[1-9]\d{1,14}$"+14155551234"
Agent workflow executions cancelled successfully
Number of executions that were cancelled