Cakemail
Cakemail API

Campaign Blueprint

Browse pre-built campaign blueprints. Blueprints are ready-made campaign designs that can be used as starting points for new campaigns.


Show all campaign blueprints

GET
https://api.cakemail.dev
/campaign-blueprints

List all available campaign blueprints. Blueprints are pre-built campaign designs that can be used as starting points.

Required scope(s): campaign_blueprints:read

Show all campaign blueprints › query Parameters

account_id
​integer · min: 1
page
​integer · min: 1
Default: 1
per_page
​integer · min: 1
Default: 50
with_count
​boolean

Include count in the response

Include count in the response

Default: false
filter
​string

Valid Terms:

  • tag
  • not_tag
  • name
  • is_owner
  • is_not_owner

Valid Operators:

  • ==

Query separator:

  • ;

Valid Terms:

  • tag
  • not_tag
  • name
  • is_owner
  • is_not_owner

Valid Operators:

  • ==

Query separator:

  • ;
sort
​string

Sort term and direction, using syntax [-|+]term.

Valid terms:

  • id
  • created_on
  • updated_on
  • name

Sort term and direction, using syntax [-|+]term.

Valid terms:

  • id
  • created_on
  • updated_on
  • name
Default: id

Show all campaign blueprints › Responses

Successful Response

​Pagination · required

Get a campaign blueprint

GET
https://api.cakemail.dev
/campaign-blueprints/{blueprint_id}

Retrieve the full details of a campaign blueprint, including its content and metadata.

Required scope(s): campaign_blueprints:read

Get a campaign blueprint › path Parameters

blueprint_id
​integer · required

Get a campaign blueprint › query Parameters

account_id
​integer · min: 1

Get a campaign blueprint › Responses

Successful Response

​object · required

Template details


Render campaign blueprint

GET
https://api.cakemail.dev
/campaign-blueprints/{blueprint_id}/render

Render a campaign blueprint's HTML content for preview.

Required scope(s): campaign_blueprints:read

Render campaign blueprint › path Parameters

blueprint_id
​integer · required

Render campaign blueprint › Responses

Successful Response

string