Skip to main content
POST
Duplicate a campaign

Authorizations

Authorization
string
header
required

Your workspace secret key, sk_live_ followed by 32 hex characters. Create one in the console under Developers.

Path Parameters

campaign_id
string
required

The campaign's id (cmp_…).

Body

application/json
agent_id
string
agent_revision
integer
Required range: x >= 1
always_on
boolean
budget_paise
integer
caller_id_max_per_hour
integer
caller_ids
string[]
caller_name
string
dial_cps
number
end_date
string
final_results
boolean
max_concurrent
integer
max_duration_secs
integer
name
string
pause_after_connected
integer | null

Pause the campaign on its own once this many calls have connected (completed or timeout; voicemail does not count). Counting starts when it is set and again on each start or resume after it paused the campaign. null removes it. May change while the campaign runs.

Required range: 1 <= x <= 100000
phone_number_id
string | null

One of your phone numbers (GET /v2/phone-numbers) that every call of this campaign rings from, through its own provider connection. null clears it. Exclusive with caller_ids.

pool_id
string | null

One of your phone pools (GET /v2/phone-pools): each contact rings from the number the pool picks. null clears it. Exclusive with phone_number_id and caller_ids.

re_attempt_period_secs
integer
retry_count
integer
skip_called_before
boolean
slots
object[]
start_date
string
tier
string
timezone
string
webhook_url
string
worker_pool
string[]

Response

Copy created