Skip to main content
Instead of stitching together API calls, you can describe a campaign declaratively in a YAML file and create it with ontora campaigns create -c campaign.yaml.

Example

Then:
The CLI prints the campaign id; if you skipped --start, launch with ontora campaigns start <id> when you’re ready. For larger contact lists, leave contacts out of the YAML and import them after creation:

Field reference

Top-level

Topic

Contact

For bulk lists, prefer ontora contacts import <id> contacts.csv after creating the campaign — see Commands. CSV columns: name,email,phone,job_title,department,seniority. Only name is required.