Create a campaign
Request body
Campaign name.
Campaign type. inbound: receives calls on a phone number. outbound: dials contacts from a contact list.
UID of the bot that handles calls for this campaign.
ID of the phone number to use. Required for inbound campaigns.
ID of the contact list to dial. Required for outbound campaigns.
Maximum daily spend in USD for outbound campaigns.
Start time for the campaign calling window (e.g. "09:00").
End time for the campaign calling window (e.g. "17:00").
IANA timezone for the calling window (e.g. "America/New_York"). Defaults to UTC if not specified.
Response
Campaign created
Unique identifier.
Campaign name.
Campaign type (inbound or outbound).
Whether the campaign is currently active.
Internal bot ID.
Bot UID for API reference.
Associated phone number ID.
Associated contact list ID.
Daily budget in USD.
Calling window start time.
Calling window end time.
Calling window timezone.