Skip to main content
POST

Overview

Resume a paused campaign so it starts placing calls again. If the current time is outside the campaign’s calling hours or calling days, it waits until the next calling window. You don’t need to call this after Update Campaign: a paused campaign resumes automatically when its settings are updated.

Prerequisites

  • An API key for your workspace
  • The campaign’s batchId. The campaign must have been created by the user who owns the API key.
  • The campaign is paused

Endpoint

Request

string
required
Your workspace API key. Create one from the profile menu in the dashboard → API Keys.
string
required
Unique identifier of the campaign to resume.
This endpoint takes no request body.

Response

boolean
required
Indicates whether the campaign was resumed.
integer
required
HTTP status code.
string
required
Human-readable success message.
string
ID of the resumed campaign.
string
Name of the resumed campaign.
string
New campaign status:
  • in-progress – calls are waiting and the campaign is calling again.
  • pending – the campaign will start calling.
  • freezed – the current time is outside the campaign’s calling hours, calling days or holiday list. Calling starts at the next calling window.

Error Handling

Errors return status: false, with the reason in errorMessage.
  • 400 Bad Request
    • Invalid Batch ID – batchId is not a valid ID.
    • Batch is not paused (current status: …) – only a paused campaign can be resumed.
  • 401 Unauthorized – Missing or invalid API key.
  • 404 Not Found – No campaign with this ID was created by the user who owns the API key, or it was deleted.
  • 500 Internal Server Error – Unexpected server error.
After resuming a campaign, you can:
  • GET /api/call/batch-details/{batchId} to follow its calls.
  • POST /api/call/pause-batch/{batchId} to pause it again.