---
title: "Get UTM tags for an automation block"
method: GET
path: "/automations/{id}/blocks/{blockID}/utm"
tags: ["Automations"]
---

# Get UTM tags for an automation block

`GET /automations/{id}/blocks/{blockID}/utm`

## Request

- Base URL: `https://api.omnisend.com/api`
- URL: `https://api.omnisend.com/api/automations/{id}/blocks/{blockID}/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 a specific send-action block.
Missing or cleared tags are returned with their default values.

**Scopes:**
`automations.read`

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

## Path parameters

- `id` string, required
- `blockID` string, required

## Headers

- `Omnisend-Version` string, required

## Response `200`

UTM tags for the block

- UTMResponse: UTM tracking tags for a single automation block.
  - `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 or block 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)
