draft status, giving you time to enroll leads and review sequence steps before sending. You can optionally supply one or more sequence steps at creation time, or add them later through the dashboard. Each step supports personalization tokens such as {{firstName}} and {{company}} to tailor copy to each recipient.
Authorization
All requests must include a Bearer token in theAuthorization header. You can find your API key in the Leadterra dashboard under Settings → API Keys.
Request Body
string
required
Display name for the campaign. Shown in the dashboard and included in API responses. For example,
"VP Sales - AI workflow".array
An ordered list of email steps that make up the campaign sequence. Each step is sent to enrolled leads in sequence. If omitted, the campaign is created with no steps and you can add them later.
Personalization Tokens
You can embed the following tokens anywhere insubject or bodyHtml. Leadterra replaces them with each lead’s data at send time.
Example Request
Response Fields
string
Unique identifier for the newly created campaign (e.g.,
camp_123). Use this ID with the start, pause, and stats endpoints.string
The display name you supplied at creation.
string
Initial state of the campaign. Always
draft on creation.array
The sequence steps saved to the campaign.
string
ISO 8601 timestamp of when the campaign was created.