v1

latestOpenAPI 3.0.02026-07-2664192238.8 KB
Automations

Update UTM tags for an automation block

Set UTM tracking tags for a specific send-action block. All three tag fields are replaced atomically. Send an empty string to clear a field — the next read will return its default value.

Scopes: automations.write

put/automations/{id}/blocks/{blockID}/utm

Path parameters

idstring required

Automation workflow ID (24 character hexadecimal)

blockIDstring required

Block identifier

Headers

Omnisend-Versionstring required

API version that specifies the response format and behaviour

Request body

Example request

{
  "tags": {
    "campaign": "automation: Welcome Series (000000000000000000000001)",
    "medium": "email",
    "source": "omnisend"
  }
}

Response

Updated UTM tags (with defaults applied)

Example response

{
  "tags": {
    "campaign": "automation: Welcome Series (000000000000000000000001)",
    "medium": "email",
    "source": "omnisend"
  }
}