This endpoint creates a campaign draft. This will allow you to adjust campaign settings via the platform and pragmatically add contacts to a campaign.
Endpoint
POST https://api.mailstand.com/campaigns
Payload
{
workspace: "space_abc123efg",
name: "My 1st Campaign"
}
Parameters
Field | Required | Description |
---|---|---|
workspace | true | The workspace ID that you want to query. This always start with space_ . |
name | true | The name of the campaign you want to create. |
201 Response
We will provide a 201
response along with the newly created campaign id.
{
id: "camp_7syjRxurOmnC5Y5nj2ctzsKBS"
}