Appearance
Campaigns Create
lindris campaigns create
Create a campaign draft
Synopsis
POST /api/campaigns — creates a draft campaign.
By default the draft starts empty. Pass --template-id (a template ID from lindris templates list) to seed its content from a template.
To start from an existing campaign instead, use campaigns clone — duplication is its own endpoint, not a flag on create.
Recipient targeting is not settable here (or via update): pick the audience in the dashboard using the editor link printed on success.
bash
lindris campaigns create --name=<name> [flags]Examples
bash
$ lindris campaigns create --name="July Newsletter"
$ lindris campaigns create --name="July Newsletter" --template-id=01JQXYZ...Options
--namestring - Campaign name (required, max 255 chars)-o, --outputstring - Output format: json|text. Default:json--template-idstring - Template ID to seed the draft from (max 255 chars; see: lindris templates list)
See Also
lindris campaigns- Manage one-time email campaigns — wraps /api/campaigns