Skip to main content
This schema describes objects returned by the Campaign endpoints.
A campaign that can be sent to a list of recipients

Fields

FieldTypeRequiredDescription
idstring (uuid)YesUnique identifier for the campaign (read-only)
namestringYesName of the campaign
pl_valuenumber, nullableNoValue of every positive lead
statusnumberYesCampaign Status. Possible values: -99 (Account Suspended), -1 (Accounts Unhealthy), -2 (Bounce Protect), 0 (Draft), 1 (Active), 2 (Paused), 3 (Completed), 4 (Running Subsequences) (read-only)
is_evergreenboolean, nullableNoWhether the campaign is evergreen
campaign_scheduleobjectYesCampaign schedule
campaign_schedule.start_datestring (date), nullableNoStart date in YYYY-MM-DD format. Uses the campaign’s timezone.
campaign_schedule.end_datestring (date), nullableNoEnd date in YYYY-MM-DD format. Uses the campaign’s timezone.
campaign_schedule.schedulesarrayNo
campaign_schedule.schedules[].namestringNo
campaign_schedule.schedules[].timingobjectNo
campaign_schedule.schedules[].timing.fromstringNo
campaign_schedule.schedules[].timing.tostringNo
campaign_schedule.schedules[].daysobjectNo
campaign_schedule.schedules[].days.0booleanNo
campaign_schedule.schedules[].days.1booleanNo
campaign_schedule.schedules[].days.2booleanNo
campaign_schedule.schedules[].days.3booleanNo
campaign_schedule.schedules[].days.4booleanNo
campaign_schedule.schedules[].days.5booleanNo
campaign_schedule.schedules[].days.6booleanNo
campaign_schedule.schedules[].timezonestringNoPossible values: Etc/GMT+12, Etc/GMT+11, Etc/GMT+10, America/Anchorage, America/Dawson, America/Creston, America/Chihuahua, America/Boise, America/Belize, America/Chicago, America/Bahia_Banderas, America/Regina, America/Bogota, America/Detroit, America/Indiana/Marengo, America/Caracas, America/Asuncion, America/Glace_Bay, America/Campo_Grande, America/Anguilla, America/Santiago, America/St_Johns, America/Sao_Paulo, America/Argentina/La_Rioja, America/Araguaina, America/Godthab, America/Montevideo, America/Bahia, America/Noronha, America/Scoresbysund, Atlantic/Cape_Verde, Africa/Casablanca, America/Danmarkshavn, Europe/Isle_of_Man, Atlantic/Canary, Africa/Abidjan, Arctic/Longyearbyen, Europe/Belgrade, Africa/Ceuta, Europe/Sarajevo, Africa/Algiers, Africa/Windhoek, Asia/Nicosia, Asia/Beirut, Africa/Cairo, Asia/Damascus, Europe/Bucharest, Africa/Blantyre, Europe/Helsinki, Europe/Istanbul, Asia/Jerusalem, Africa/Tripoli, Asia/Amman, Asia/Baghdad, Europe/Kaliningrad, Asia/Aden, Africa/Addis_Ababa, Europe/Kirov, Europe/Astrakhan, Asia/Tehran, Asia/Dubai, Asia/Baku, Indian/Mahe, Asia/Tbilisi, Asia/Yerevan, Asia/Kabul, Antarctica/Mawson, Asia/Yekaterinburg, Asia/Karachi, Asia/Kolkata, Asia/Colombo, Asia/Kathmandu, Antarctica/Vostok, Asia/Dhaka, Asia/Rangoon, Antarctica/Davis, Asia/Novokuznetsk, Asia/Hong_Kong, Asia/Krasnoyarsk, Asia/Brunei, Australia/Perth, Asia/Taipei, Asia/Choibalsan, Asia/Irkutsk, Asia/Dili, Asia/Pyongyang, Australia/Adelaide, Australia/Darwin, Australia/Brisbane, Australia/Melbourne, Antarctica/DumontDUrville, Australia/Currie, Asia/Chita, Antarctica/Macquarie, Asia/Sakhalin, Pacific/Auckland, Etc/GMT-12, Pacific/Fiji, Asia/Anadyr, Asia/Kamchatka, Etc/GMT-13, Pacific/Apia
sequencesarrayNoList of sequences (the actual email copy). Even though this field is an array, only the first element is used, so please provide only one array item, and add the steps to that array
sequences[].stepsarrayNo
sequences[].steps[].typestringNoType of step. This has to be ‘email’ always - it’s the only supported type for now. Possible values: email (This steps represents an email)
sequences[].steps[].delaynumberNoThe delay value before sending the NEXT email. The unit is determined by the delay_unit field (defaults to days).
sequences[].steps[].delay_unitstringNoThe unit of time for the delay value (minutes, hours, or days). Defaults to days for backward compatibility.. Possible values: minutes, hours, days
sequences[].steps[].pre_delaynumberNoThe delay value before sending the FIRST email in a subsequence. Only applicable to subsequences - this field is ignored for regular campaigns. The unit is determined by the pre_delay_unit field (defaults to days).
sequences[].steps[].pre_delay_unitstringNoThe unit of time for the pre_delay value (minutes, hours, or days). Only applicable to subsequences - this field is ignored for regular campaigns. Defaults to days for backward compatibility.. Possible values: minutes, hours, days
sequences[].steps[].variantsarrayNo
sequences[].steps[].variants[].subjectstringNo
sequences[].steps[].variants[].bodystringNo
sequences[].steps[].variants[].v_disabledbooleanNoWhether this variant is disabled. By default, all the variants are enabled. Please set this to true if you want to disable this variant
timestamp_createdstringYesTimestamp when the campaign was created (read-only)
timestamp_updatedstringYesTimestamp when the campaign was last updated (read-only)
email_gapnumber, nullableNoThe gap between emails in minutes
random_wait_maxnumber, nullableNoThe maximum random wait time in minutes
text_onlyboolean, nullableNoWhether the campaign is text only
first_email_text_onlyboolean, nullableNoWhether the campaign is send the first email as a text only
email_listarrayNoList of accounts to use for sending emails
daily_limitnumber, nullableNoThe daily limit for sending emails
stop_on_replyboolean, nullableNoWhether to stop the campaign on reply
email_tag_listarrayNoList of tags to use for sending emails
link_trackingboolean, nullableNoWhether to track links in emails
open_trackingboolean, nullableNoWhether to track opens in emails
stop_on_auto_replyboolean, nullableNoWhether to stop the campaign on auto reply
daily_max_leadsnumber, nullableNoThe daily maximum new leads to contact
prioritize_new_leadsboolean, nullableNoWhether to prioritize new leads
auto_variant_selectobject, nullableNoAuto variant select settings
auto_variant_select.triggerstringNoPossible values: reply_rate, click_rate, open_rate
match_lead_espboolean, nullableNoWhether to match leads by ESP
not_sending_statusnumber, nullableNoCampaign not sending status. Possible values: 1 (Campaign is currently not within its sending schedule.), 2 (Campaign is currently waiting for a lead to process.), 3 (Campaign has reached its daily sending limit.), 4 (All sending accounts for this campaign have reached their daily sending limit.), 99 (Campaign is currently not sending due to an error. Please contact support for assistance.) (read-only)
stop_for_companyboolean, nullableNoWhether to stop the campaign for the entire company(domain) when a lead replies
core_variablesobject, nullableNoCampaign core variables (read-only)
custom_variablesobject, nullableNoCampaign custom variables (read-only)
insert_unsubscribe_headerboolean, nullableNoWhether to insert an unsubscribe header in emails
allow_risky_contactsboolean, nullableNoWhether to allow risky contacts
disable_bounce_protectboolean, nullableNoWhether to disable bounce protection
limit_emails_per_company_overrideobject, nullableNoOverrides the workspace-wide limit emails per company setting for this campaign.
limit_emails_per_company_override.modestringNoPossible values: custom, disabled
limit_emails_per_company_override.daily_limitnumberNo
limit_emails_per_company_override.scopestringNoPossible values: per_campaign, across_workspace
cc_listarrayNoList of accounts to CC on emails
bcc_listarrayNoList of accounts to BCC on emails
organizationstring (uuid), nullableNoOrganization ID (read-only)
owned_bystring (uuid), nullableNoOwner ID
ai_sdr_idstring (uuid), nullableNoAI SDR ID that created this campaign
provider_routing_rulesarrayNoAuto variant select settings
provider_routing_rules[].actionstringNoPossible values: send, do_not_send
provider_routing_rules[].recipient_esparrayNo
provider_routing_rules[].sender_esparrayNo