Skip to main content
POST
Save a campaign as a template

Authorizations

Authorization
string
header
required

An API key from the console, starting ob_live_, sent as Authorization: Bearer <key>.

Body

application/json
name
string
required

The template's name.

Required string length: 1 - 200
Example:

"Freight intro"

campaignId
string
required

The campaign whose steps and schedule (sending days, hours, time zone and lists) the template keeps.

Required string length: 24
Pattern: ^[0-9a-fA-F]+$
Example:

"6a1f0c2b9d4e8a7f3c5b2e30"

Response

The new template.

id
string
required