create a campaign
dial every contact of an audience with a deployed agent (UUID or handle), from one of your own numbers (phoneLineKind rented or sip_trunk with phoneLineId), up to maxConcurrentCalls at a time. retryEnabled redials contacts who don’t pick up after retryDelayMinutes (15, 20, 30 or 60), up to maxRetries (1–6). scheduledAt (up to 90 days ahead) starts it later; left out, it starts now. contextColumns picks the audience columns appended to the agent’s prompt on every call (left out, the audience’s own choice; [], none). every call is billed and recorded like any phone call.
Authorizations
your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.
Body
the body of POST /v1/campaigns.
the campaign's name, up to 120 characters.
120the audience to call.
rented (a number rented through rumik) or sip_trunk (one of your SIP trunks). see GET /v1/campaigns/phone-lines.
rented, sip_trunk, platform the agent making the calls: its UUID or ua_… handle. must be deployed.
1 - 641000the rented number's or SIP trunk's id.
the audience columns appended to the agent's prompt on every call, each with a description. left out, the audience's own choice; [], none.
calls kept live at once, up to your account's limit (maxConcurrentCalls of GET /v1/campaigns/phone-lines). default 1.
1 <= x <= 50redial a contact who didn't pick up.
minutes before a redial: 15, 20, 30 or 60.
x >= 1redials per contact, 1–6.
0 <= x <= 6ISO 8601 time to start, up to 90 days ahead. left out or null, it starts now.
Response
created.
an outbound campaign, with live counts of its contacts by state.
How many of the campaign's contacts sit in each state.