Get a campaign
The campaign’s settings, status and counters: how many contacts are in each status (pending, dialing, completed, no_answer, busy, failed, voicemail, timeout, exhausted, suppressed, skipped, aborted). Poll it to watch a campaign run.
status is draft, play, paused, stopped or completed. pause_reason says why a campaign paused: insufficient_balance, budget_exhausted, spend_limit_reached (its sub-workspace’s spending limit) or connected_limit_reached (its pause rule) when it paused itself, the reason you gave when you did, and null otherwise. A campaign paused for money or a limit waits for you to resume it.
wallet appears while the wallet holds fewer of the campaign’s calls at once than max_concurrent (each call holds its max_duration_secs at the per-minute rate before it dials), and on a campaign paused for the wallet: balance_inr, held_inr (held by calls in progress), held_elsewhere_inr (the part held by calls that aren’t this campaign’s), hold_inr (what each call holds), rate_inr, max_duration_secs, calls_at_once (what the campaign is running now), max_concurrent, top_up_inr (to add for max_concurrent at once) and top_up_one_inr (to add for one at a time), each with its _paise twin. Lower max_concurrent to calls_at_once, add top_up_inr, or lower max_duration_secs. It’s absent when the wallet covers every slot.
With a pause rule set, pause_after_connected_count is how many calls have connected since pause_after_connected_since, when the count began.