How to Manage Creatives and Landing Pages via the CAKE API

This article will cover the following:

When to use these endpoints:
Use these endpoints to manage creative assets and landing pages at scale — create banners and text links programmatically, rotate landing pages for A/B testing, and sync creative updates.
Authentication: All CAKE API requests require your api_key parameter. Find yours under Setup → System Access → API Keys.
Part of a series: This focused guide covers specific endpoints from the complete CAKE API — Campaigns & Creatives reference, which documents all available endpoints for this feature area.

Available Endpoints

Get Creatives

Retrieves creative assets associated with an offer. Use to enumerate available creatives before assigning to a campaign.

When to use: Retrieve all banner/text link options for an offer before creating or updating a campaign.
GET /api/2/creatives.json
ParameterTypeRequiredDescription
api_keystringYesYour CAKE API key.
creative_idintegerNoFilter to a specific creative.
offer_idintegerNoFilter creatives for a specific offer.
creative_type_idintegerNoFilter by creative type (1=Banner, 2=Text Link, 3=Email, 4=HTML).
creative_statusstringNoactive | paused | deleted

Sample request

GET https://yourdomain.cakemarketing.com/api/2/creatives.json?api_key=YOUR_API_KEY&offer_id=12345&creative_status=active

Sample response

{ "request_status": "Success", "creatives": [ { "creative_id": 4421, "creative_name": "Banner 300x250", "creative_type": "Banner", "offer_id": 12345, "creative_status": "active", "width": 300, "height": 250 } ] }


Get Landing Pages

Retrieves landing pages associated with an offer. An offer can have multiple landing pages enabling A/B testing and geo-targeted routing.

When to use: Enumerate landing page options for an offer before creating a campaign or setting up A/B testing.
GET /api/2/landing_pages.json
ParameterTypeRequiredDescription
api_keystringYesYour CAKE API key.
landing_page_idintegerNoFilter to a specific landing page.
offer_idintegerNoFilter landing pages for a specific offer.
landing_page_statusstringNoactive | paused | deleted

Sample request

GET https://yourdomain.cakemarketing.com/api/2/landing_pages.json?api_key=YOUR_API_KEY&offer_id=12345&landing_page_status=active

Sample response

{ "request_status": "Success", "landing_pages": [ { "landing_page_id": 881, "landing_page_name": "Main LP - US", "offer_id": 12345, "url": "https://safedrive.example.com/quote", "landing_page_status": "active" } ] }


If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.



If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.