Skip to main content
POST
/
workflows
/
{id}
/
resume
Resume a workflow
curl --request POST \
  --url https://api.dialnexa.com/v1/workflows/{id}/resume \
  --header 'Authorization: Bearer <token>'
{
  "id": "wf_abc123",
  "status": "active"
}
Resumes a workflow that was previously paused with Pause Workflow. Leads pick up exactly where they were left: queued leads that had not started become eligible to dial again, and leads waiting on a time-delay node continue their countdown from the same offset rather than restarting. The workflow’s status returns to active and starts moving leads on the next scheduling tick.

When to use this

  • After a planned pause: for example, you paused outbound activity during a holiday window or carrier maintenance.
  • After incident remediation: you paused while investigating a complaint, dialler issue, or data-quality problem and the underlying cause is resolved.
  • After scaling changes: you paused to adjust concurrency or agent settings, and you are ready to drain the backlog under the new configuration.
If the workflow was cancelled rather than paused, it cannot be resumed. Use List Workflows to confirm the current status before calling this endpoint.

Behavior

  • Time-delay nodes resume the remaining time, not the full duration.
  • Concurrency limits and retry policy apply as configured at the time of resume.
  • New leads added while the workflow was paused are picked up at the entry node.

Path parameters

ParameterDescription
idThe workflow ID, for example wfl_m3v7zb9rk2px.

Errors

  • 404 Not Found is returned when the workflow does not exist.
  • 409 Conflict is returned when the workflow is not currently paused (for example it is already active or has been cancelled).

Request

curl -X POST "https://api.dialnexa.com/v1/workflows/wfl_m3v7zb9rk2px/resume" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "id": "wfl_m3v7zb9rk2px",
  "name": "30-Day Lead Nurture",
  "status": "active",
  "node_count": 5,
  "edge_count": 6,
  "enrolled_leads": 420,
  "created_at": "2024-04-01T08:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token in the Authorization header.

Path Parameters

id
string
required

Response

200 - application/json

Success.

id
string
Example:

"wf_abc123"

status
enum<string>
Available options:
draft,
active,
running,
paused,
completed,
cancelled
Example:

"active"