List creative templates
Lists the brand's saved creative templates, newest first, with their html, slots and preview.
bearerAuthAuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
List creative templates
application/json- response
templates*array<>[key: string]?unknowncurl -X GET "https://example.com/v1/brands/0/creative-templates" \ -H "Authorization: Bearer koast_sk_..."{ "templates": [ { "templateId": -9007199254740991, "name": "string", "aspectRatio": "string", "slots": [ { "name": "string", "description": "string", "property1": null, "property2": null } ], "referenceUrl": "string", "previewCreativeId": -9007199254740991, "previewUrl": "string", "html": "string", "createdAt": "string", "property1": null, "property2": null } ], "property1": null, "property2": null}Required scope: read. CLI: koast list-creative-templates, see Creative Templates commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
Get generated ad copy
Returns a previously generated copy by its id: headlines, primary text, descriptions and variations.
Save creative template
Saves an html ad layout as a creative template for the brand. Every {{slot}} in the html must be listed in slots, and every listed slot must appear in the html. Render it with render-creative and templateId.