Smartlead: create campaign
smartlead_create_campaignCreate a new Smartlead campaign as a draft. Provide a campaign name and optionally associate a client; no emails are sent until the campaign is started.
Instructions
Create a new Smartlead campaign. Smartlead creates it in DRAFTED status. Safety — read-only: no; may consume SmartProspect credits: no; creates or modifies remote state: yes; can send email: no; destructive: no. Endpoint: POST https://server.smartlead.ai/api/v1/campaigns/create. Creates remote state. Blocked in readonly mode. The new campaign is a draft: it does not send anything until it is explicitly started. Never auto-retried — a retry could create a duplicate campaign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Campaign name. Smartlead defaults to "Untitled Campaign". | |
| client_id | No | Associate the campaign with a client. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | No | ||
| warnings | Yes | ||
| operation | Yes | ||
| pagination | Yes | ||
| credit_spending | Yes | ||
| remote_mutation | Yes |