PUT
/
utm-templates
/
{id}
Update UTM Template
curl --request PUT \
  --url https://connextify.com/api/v1/utm-templates/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "utm_source": "<string>",
  "utm_medium": "<string>",
  "utm_campaign": "<string>",
  "utm_term": "<string>",
  "utm_content": "<string>",
  "utm_source_platform": "<string>",
  "utm_creative_format": "<string>",
  "utm_marketing_tactic": "<string>",
  "utm_id": "<string>",
  "description": "<string>",
  "is_default": true,
  "custom_params": {}
}
'
{
  "success": true,
  "data": {}
}
Update properties and tags on an existing UTM template.

Path Parameters

id
string
required
The UUID of the UTM template to update.

Body Parameters

name
string
required
Descriptive template name (1-100 characters).
utm_source
string
required
Traffic source identifier (1-100 characters).
utm_medium
string
required
Marketing medium identifier (1-100 characters).
utm_campaign
string
Campaign name (up to 150 characters).
utm_term
string
Campaign keywords or targeting terms (up to 150 characters).
utm_content
string
Ad variation or creative differentiator (up to 255 characters).
utm_source_platform
string
Platform sending traffic (up to 100 characters).
utm_creative_format
string
Creative format (up to 100 characters).
utm_marketing_tactic
string
Targeting tactic (up to 100 characters).
utm_id
string
Campaign or ad identifier (up to 100 characters).
description
string
Optional notes or instructions.
is_default
boolean
Whether this template is your default preset.
custom_params
object
Arbitrary key-value attribution pairs.

Response

success
boolean
Indicates if the update was successful.
data
object
The updated UTM template object.

Request Examples

curl -X PUT "https://connextify.com/api/v1/utm-templates/e4a89f92-5b12-4211-9fa6-1e6ef8291402" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Search Template",
    "utm_source": "google",
    "utm_medium": "cpc",
    "utm_campaign": "winter_holiday_sale"
  }'