API referenceLaunches

Save campaign snapshot template

Saves the launch's campaign-level settings as a reusable snapshot template named name. Ad sets, ads and creatives are not captured.

POST
/v1/brands/{brandId}/launches/{launchId}/snapshot-templates
bearerAuth
headerAuthorizationBearer <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*integer

The brand the request acts on. Every brand-scoped resource lives under its brand.

launchId*string

The campaign launch (batch) id.

Idempotency-Key?string

Retrying with the same key within 24 hours returns the first response without acting again.

Lengthlength <= 255
application/json
  1. body
name*string

Name for the template (non-empty)

Length1 <= length <= 191
description?string

Description of what this template is for

Lengthlength <= 191

Response Body

Save campaign snapshot template

application/json
  1. response
[key: string]?unknown
curl -X POST "https://example.com/v1/brands/0/launches/string/snapshot-templates" \  -H "Authorization: Bearer koast_sk_..." \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "property1": null,  "property2": null}

Required scope: write. CLI: koast save-campaign-snapshot, see Launches commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.