Cakemail
API Changelog

Next-gen API v1.31

Campaign picture

GET /campaigns/{campaign_id}/screenshot returns a picture of a campaign as a PNG, laid out at the viewport size you choose. It requires the campaigns:read scope.

  • width: the browser viewport width in pixels, which is also the picture's width. 240 to 2560, default 1280.
  • height: the viewport height in pixels, 240 to 2560, default 720. It is the picture's height only when full_page is false.
  • full_page: true takes the whole campaign, and the picture is then as tall as the campaign. Default false, the top of the campaign only.

If the picture can't be produced, the request answers 503.

Fixes

  • Listing a segment's contacts with a filter now applies the filter to the whole segment when the segment's query has OR groups. Before, it applied only to the last group.
  • GET /forms no longer fails a page because of one enhanced form without created_on.
Last modified on