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

FieldRequiredDescription
workspace trueThe workspace ID that you want to query. This always start with space_.
nametrueThe 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"
}