Create Campaign
Campaigns
Create Campaign
Create a new outreach campaign
POST
Create Campaign
Request
Headers
Body Parameters
Campaign name
UUID of the target contact list
Email template text (supports variables:
{{name}}, {{company}}, {{title}})Response
The created campaign object
Example Response
Template Variables
Use these variables in your template to personalize emails:| Variable | Description | Example |
|---|---|---|
{{name}} | Contact’s first name | John |
{{full_name}} | Contact’s full name | John Smith |
{{company}} | Company name | Acme Corp |
{{title}} | Job title | CEO |
Example Template
Next Steps
After creating a campaign:- Review the draft in your dashboard
- Use the Start Campaign endpoint to launch it
- Or send it to Lexi AI for automated optimization
Errors
| Status | Code | Description |
|---|---|---|
| 400 | validation_error | Missing required fields or invalid list ID |
| 401 | invalid_key | Invalid API key |
| 403 | insufficient_permissions | Missing write permission |
| 404 | not_found | List not found |
| 429 | rate_limited | Rate limit exceeded |