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 whenfull_pageisfalse.full_page:truetakes the whole campaign, and the picture is then as tall as the campaign. Defaultfalse, 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
ORgroups. Before, it applied only to the last group. GET /formsno longer fails a page because of one enhanced form withoutcreated_on.
Last modified on