Skip to main content
POST
Create a UTM template

Authorizations

X-API-Key
string
header
required

Your API key, for example dlk_live_.... Create one in the dashboard under Settings → API Keys. Keys are shown once at creation and stored only as a hash, so they cannot be recovered.

Body

application/x-www-form-urlencoded
template_name
string
required

Human-readable template name. Required, and unique within the organization.

utm_campaign_name
string
required

The UTM campaign name (the utm_campaign value) on a UTM template. Required on create.

utm_medium
string

utm_medium value appended to the destination URL.

utm_source
string

utm_source value appended to the destination URL.

utm_content
string

utm_content value appended to the destination URL.

utm_term
string

utm_term value appended to the destination URL.

utm_campaign_id
string

Optional UTM campaign ID (the utm_id value) stored on a UTM template.

Response

Success.

data
object

The endpoint's payload.