Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2025-01-15/reference/get_tags.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2025-01-15

You're reading the reference for API revision 2025-01-15. The latest revision is 2026-10-15. See this page in the latest revision.

Get Tags

GEThttps://a.klaviyo.com/api/tags

List all tags in an account.

Tags can be filtered by name, and sorted by name or id in ascending or descending order.

Returns a maximum of 50 tags per request, which can be paginated with cursor-based pagination.

Revision header
revision: 2025-01-15required
Scopes
tags:read
Rate limits
Burst: 3/sSteady: 60/m

Query parameters

  • fields[tag-group]#string[]

    For more information please visit API overview

    Allowed values:
    • name
    • exclusive
    • default
  • fields[tag]#string[]

    For more information please visit API overview

    Allowed values:
    • name
  • filter#string

    For more information please visit API overview
    Allowed field(s)/operator(s):
    name: contains, ends-with, equals, starts-with

    Example: equals(name,'My Tag')

  • include#string[]

    For more information please visit API overview

    Allowed values:
    • tag-group
  • page[cursor]#string

    For more information please visit API overview

  • sort#string

    For more information please visit API overview

    Allowed values:
    • id
    • -id
    • name
    • -name

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2025-01-15

Responses

200Success

Content type: application/vnd.api+json

  • data#object[]required
    Show 5 fields
    • relationships#object
      Show 5 fields
      • tag-group#object
        Show 2 fields
        • data#object
          Show 2 fields
          • type#stringrequired
            Allowed values:
            • tag-group
          • id#stringrequired
      • lists#object
        Show 1 field
      • segments#object
        Show 1 field
      • campaigns#object
        Show 1 field
      • flows#object
        Show 1 field
    • type#stringrequired
      Allowed values:
      • tag
    • id#stringrequired

      The Tag ID

      Example: abcd1234-ef56-gh78-ij90-abcdef123456

    • attributes#objectrequired
      Show 1 field
      • name#stringrequired

        The Tag name

        Example: My Tag

  • included#object[]
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • tag-group
    • id#stringrequired

      The Tag Group ID

      Example: zyxw9876-vu54-ts32-rq10-zyxwvu654321

    • attributes#objectrequired
      Show 3 fields
      • name#stringrequired

        The Tag Group name

        Example: My Tag Group

      • exclusive#booleanrequired

        If a tag group is non-exclusive, any given related resource (campaign, flow, etc.) can be linked to multiple tags from that tag group. If a tag group is exclusive, any given related resource can only be linked to one tag from that tag group.

      • default#booleanrequired

        Every company automatically has one Default Tag Group. The Default Tag Group cannot be deleted, and no other Default Tag Groups can be created. This value is true for the Default Tag Group and false for all other Tag Groups.

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string