Update campaign UTM settings

Replace UTM tag settings for a campaign. For regular campaigns send a tags object. For A/B test campaigns send a variants object. The campaign must be in draft status.

Scopes: campaigns.write

Path Params
string
required

Campaign ID (24 character hexadecimal)

Body Params

UTM update data — use tags for regular campaigns, variants for A/B test campaigns

UTM update request. Provide tags for regular campaigns or variants for A/B test campaigns. Exactly one must be present; providing both is a validation error.

tags
object

UTM tag values. Providing empty values resets them to defaults.

variants
object

UTM variant update entries for an A/B test campaign.

Headers
string
required
Defaults to 2026-preview

API version that specifies the response format and behaviour

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json