Skip to main content
POST
Re-execute a completed, cancelled, or failed campaign with flexible contact selection and scheduling options.

Path Parameters

  • campaign_id (integer, required): The unique identifier of the campaign

Request Body

Contact Selection Options

Schedule Settings

Example Requests

Re-execute all contacts immediately:
Retry only failed contacts:
Retry specific contacts:

Response

Response (Immediate)
Response (Scheduled)

Example Code

cURL
Python
JavaScript

Behavior

When re-executing a campaign:
  1. Selected contacts are reset to pending status
  2. Non-selected contacts are marked as skipped
  3. Campaign counters are reset to 0
  4. Metrics are cleared for fresh tracking
  5. Execution history is preserved for audit
  6. Campaign status becomes draft (immediate) or scheduled

Error Responses

Valid Starting Statuses

Re-execution is only available for:
  • completed - All contacts processed
  • cancelled - Campaign was stopped
  • failed - Campaign encountered an error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign_id
integer
required

Body

application/json

The body is of type Re Execute Data · object.

Response

Successful Response