Get Tags

GET {{baseUrl}}/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.

Rate limits:
Burst: 3/s
Steady: 60/m

Scopes: Tags Read

Request Params

KeyDatatypeRequiredDescription
fields[tag]stringFor more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#sparse-fieldsets
filterstringFor more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#filtering&lt;br&gt;Allowed field(s)/operator(s):<br>name: contains, ends-with, equals, starts-with
page[cursor]stringFor more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#pagination
sortstringFor more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#sorting

HEADERS

KeyDatatypeRequiredDescription
revisionstring(Required) API endpoint revision (format: YYYY-MM-DD[.suffix])
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;type&quot;:&quot;tag&quot;,&quot;id&quot;:&quot;abcd1234-ef56-gh78-ij90-abcdef123456&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;My Tag&quot;},&quot;links&quot;:{&quot;self&quot;:&quot;http://ysV.jfTg9uGG+.65KmbubqRAwNPJgoepiI2kevI&quot;}},{&quot;type&quot;:&quot;tag&quot;,&quot;id&quot;:&quot;abcd1234-ef56-gh78-ij90-abcdef123456&quot;,&quot;attributes&quot;:{&quot;name&quot;:&quot;My Tag&quot;},&quot;links&quot;:{&quot;self&quot;:&quot;https://Y.mpGEFXcWMo0Joa3J0RoPb8vnnDpMoV2,VyaVLDvz+vbUaDcqVmdmCaZ&quot;}}],&quot;links&quot;:{&quot;self&quot;:&quot;https://JarIYPdfeUw.zlduoH5wDTXY7nW&quot;,&quot;first&quot;:&quot;http://VCeYoodXLlJiFLabNdUUZfR.xckduJr8+TBjBDU4rjXHnndy.BrZU&quot;,&quot;last&quot;:&quot;https://UBWXutyaqKswDQIHuTqlblEQxv.raZHoHi9Q79SP-JZgHgWVv7fTBV3Y5BYGpTLRKTv7smNaQgR6U7JZYWTK4sAPtR&quot;,&quot;prev&quot;:&quot;https://gOCAdYm.gbuGTl5lKrW0PTRueNjZNgM48pk-C2X4+awxsY8,+9Ms6PzlI+-Qz4xG+vCfLjSpezAF+&quot;,&quot;next&quot;:&quot;http://efCKckRyUBCSfUXrGqLXWMGhGCyz.cuC1XomXCOFJVQ49P++ZPYlqwDYoFaej&quot;}}