---
title: "Get All Universal Content"
description: "How to call Get All Universal Content (GET /api/template-universal-content) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2025-01-15/reference/get_all_universal_content"
revision: "2025-01-15"
latestUrl: "https://developers.klaviyo.com/en/reference/get_all_universal_content"
operationId: "get_all_universal_content"
aliases: ["get_template_universal_content"]
method: "GET"
endpoint: "https://a.klaviyo.com/api/template-universal-content"
authentication: "privateKey"
scopes: ["templates:read"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
jsonApi: {"fields":{"template-universal-content":["name","definition","definition.content_type","definition.type","definition.data","definition.data.content","definition.data.display_options","definition.data.display_options.show_on","definition.data.display_options.visible_check","definition.data.display_options.content_repeat","definition.data.display_options.content_repeat.repeat_for","definition.data.display_options.content_repeat.item_alias","definition.data.styles","definition.data.styles.background_color","definition.data.styles.block_background_color","definition.data.styles.block_border_color","definition.data.styles.block_border_style","definition.data.styles.block_border_width","definition.data.styles.block_padding_bottom","definition.data.styles.block_padding_left","definition.data.styles.block_padding_right","definition.data.styles.block_padding_top","definition.data.styles.color","definition.data.styles.extra_css_class","definition.data.styles.font_family","definition.data.styles.font_size","definition.data.styles.font_style","definition.data.styles.font_weight","definition.data.styles.inner_padding_bottom","definition.data.styles.inner_padding_left","definition.data.styles.inner_padding_right","definition.data.styles.inner_padding_top","definition.data.styles.letter_spacing","definition.data.styles.line_height","definition.data.styles.mobile_stretch_content","definition.data.styles.text_align","definition.data.styles.text_decoration","definition.data.styles.text_table_layout","created","updated","screenshot_status","screenshot_url"]},"sort":["created","-created","id","-id","name","-name","updated","-updated"],"pagination":{"style":"cursor","defaultPageSize":"20"}}
related: ["https://developers.klaviyo.com/en/v2025-01-15/reference/templates/llms.txt","https://developers.klaviyo.com/en/v2025-01-15/reference/get_universal_content.md","https://developers.klaviyo.com/en/v2025-01-15/reference/create_universal_content.md","https://developers.klaviyo.com/en/v2025-01-15/reference/update_universal_content.md","https://developers.klaviyo.com/en/v2025-01-15/reference/delete_universal_content.md"]
---

# Get All Universal Content

> This is the Markdown version of https://developers.klaviyo.com/en/v2025-01-15/reference/get_all_universal_content

```http
GET https://a.klaviyo.com/api/template-universal-content
```

Get all universal content in an account.

- Revision header: `revision: 2025-01-15` (required)
- Scopes: `templates:read`
- Rate limits: Burst: `10/s`, Steady: `150/m`

## Example request

```bash
curl --request GET \
     --url 'https://a.klaviyo.com/api/template-universal-content' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2025-01-15'
```

## Query parameters

- `fields[template-universal-content]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `name`, `definition`, `definition.content_type`, `definition.type`, `definition.data`, `definition.data.content`, `definition.data.display_options`, `definition.data.display_options.show_on`, `definition.data.display_options.visible_check`, `definition.data.display_options.content_repeat`, `definition.data.display_options.content_repeat.repeat_for`, `definition.data.display_options.content_repeat.item_alias`, `definition.data.styles`, `definition.data.styles.background_color`, `definition.data.styles.block_background_color`, `definition.data.styles.block_border_color`, `definition.data.styles.block_border_style`, `definition.data.styles.block_border_width`, `definition.data.styles.block_padding_bottom`, `definition.data.styles.block_padding_left`, `definition.data.styles.block_padding_right`, `definition.data.styles.block_padding_top`, `definition.data.styles.color`, `definition.data.styles.extra_css_class`, `definition.data.styles.font_family`, `definition.data.styles.font_size`, `definition.data.styles.font_style`, `definition.data.styles.font_weight`, `definition.data.styles.inner_padding_bottom`, `definition.data.styles.inner_padding_left`, `definition.data.styles.inner_padding_right`, `definition.data.styles.inner_padding_top`, `definition.data.styles.letter_spacing`, `definition.data.styles.line_height`, `definition.data.styles.mobile_stretch_content`, `definition.data.styles.text_align`, `definition.data.styles.text_decoration`, `definition.data.styles.text_table_layout`, `created`, `updated`, `screenshot_status`, `screenshot_url`
- `filter` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md)\
  Allowed field(s)/operator(s):\
  `id`: `any`, `equals`\
  `name`: `any`, `equals`\
  `created`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`\
  `updated`: `greater-or-equal`, `greater-than`, `less-or-equal`, `less-than`\
  `definition.content_type`: `equals`\
  `definition.type`: `equals` Example: `equals(id,'01HWWWKAW4RHXQJCMW4R2KRYR4')`
- `page[cursor]` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md)
- `page[size]` (integer): Default: 20. Min: 1. Max: 100.
- `sort` (string): For more information please visit [API overview](https://developers.klaviyo.com/en/v2025-01-15/reference.md) Allowed values: `created`, `-created`, `id`, `-id`, `name`, `-name`, `updated`, `-updated`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2025-01-15`

## Responses

### 200: Success

Content type: `application/vnd.api+json`

- `data` (object[], required)
  - `type` (string, required): Allowed values: `template-universal-content`
  - `id` (string, required): The ID of the universal content Example: `01HWWWKAW4RHXQJCMW4R2KRYR4`
  - `attributes` (object, required)
    - `name` (string, required): The name for this universal content
    - `definition` (oneOf, nullable)
      - One of:
        - Option 1: `ButtonBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 2: `DropShadowBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 3: `HeaderBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 4: `HorizontalRuleBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 5: `HTMLBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 6: `ImageBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 7: `ProductBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 8: `ReviewBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 9: `SocialBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 10: `SpacerBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 11: `SplitBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 12: `TableBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 13: `TextBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 14: `UnsupportedBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 15: `VideoBlock` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
        - Option 16: `Section` Fields nested this deep aren't listed here; they're in the endpoint's OpenAPI document.
    - `created` (string<date-time>, required): The datetime when this universal content was created Example: `2022-11-08T00:00:00+00:00`
    - `updated` (string<date-time>, required): The datetime when this universal content was updated Example: `2022-11-08T00:00:00+00:00`
    - `screenshot_status` (string, required): The status of a universal content screenshot. Allowed values: `completed`, `failed`, `generating`, `never_generated`, `not_renderable`, `stale`
    - `screenshot_url` (string, required)
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (object)
  - `self` (string<uri>, required)
  - `first` (string<uri>)
  - `last` (string<uri>)
  - `prev` (string<uri>)
  - `next` (string<uri>)

#### Example response body

```json
{
  "data": [
    {
      "type": "template-universal-content",
      "id": "01HWWWKAW4RHXQJCMW4R2KRYR4",
      "attributes": {
        "name": "string",
        "definition": {
          "content_type": "block",
          "type": "button",
          "data": "string"
        },
        "created": "2022-11-08T00:00:00+00:00",
        "updated": "2022-11-08T00:00:00+00:00",
        "screenshot_status": "completed",
        "screenshot_url": "string"
      },
      "links": {
        "self": "https://www.example.com"
      }
    }
  ],
  "links": {
    "self": "https://www.example.com",
    "first": "https://www.example.com",
    "last": "https://www.example.com",
    "prev": "https://www.example.com",
    "next": "https://www.example.com"
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
