---
title: "Get aggregated UTM tags for all blocks"
method: GET
path: "/automations/{id}/utm"
tags: ["Automations"]
---

# Get aggregated UTM tags for all blocks

`GET /automations/{id}/utm`

## Request

- Base URL: `https://api.omnisend.com/api`
- URL: `https://api.omnisend.com/api/automations/{id}/utm`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://app.omnisend.com/oauth2/token` scopes: `automations.read`
  - API key in header `Authorization`

Retrieve UTM tracking tags for all send-action blocks in an automation.
Each block's tags include default-value synthesis for missing fields.

**Scopes:**
`automations.read`

**Rate Limiting:**
This endpoint is rate limited to 400 requests per minute.

## Path parameters

- `id` string, required

## Headers

- `Omnisend-Version` string, required

## Response `200`

Aggregated UTM tags

- AggregateUTMResponse: Aggregated UTM tracking tags for all send-action blocks in an automation.
  - `blocks` AggregateUTMResponseBlock[]: UTM tags per send-action block
    - `blockID` string: Block identifier
    - `tags` UTMTags: UTM tracking tag values.
      - `campaign` string: UTM campaign parameter
      - `medium` string: UTM medium parameter
      - `source` string: UTM source parameter

## Other responses

- `400`: Request contains invalid or missing fields
- `401`: Authentication is missing or invalid
- `403`: Insufficient permissions for this operation
- `404`: Automation not found
- `410`: API version has been retired
- `429`: Rate limit exceeded
- `500`: Unexpected error occurred

---

[API](https://skmtc.dev/omnisend/apis/automations-api.md) - [All operations](https://skmtc.dev/omnisend/apis/automations-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omnisend/apis/automations-api/revisions/2419d261f3a8?raw)
