PATCH
/
utm-templates
/
{id}
/
default
Set Default UTM Template
curl --request PATCH \
  --url https://connextify.com/api/v1/utm-templates/{id}/default \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {}
}
Designates a saved UTM template as the user’s default template. When set, newly shortened links will automatically inherit these UTM parameters unless custom parameters are explicitly provided in the creation payload.

Path Parameters

id
string
required
The UUID of the UTM template to designate as default.

Response

success
boolean
Indicates if the update was successful.
data
object
The updated UTM template object with is_default: true.

Request Examples

curl -X PATCH "https://connextify.com/api/v1/utm-templates/e4a89f92-5b12-4211-9fa6-1e6ef8291402/default" \
  -H "Authorization: Bearer YOUR_API_KEY"