List Tags
GET
/api/v1/tagsAuthorization
AuthorizationBearer token · headerrequiredor
AuthorizationOAuth2 access token · headerrequiredResponses
200Successful Response
successbooleandefault: true
dataCreativeTagWithUsage[] | anyShow propertiesHide properties
Any of:
CreativeTagWithUsage[]
Array of
CreativeTagWithUsageidstringrequiredslugstringrequiredlabelstringrequiredstatusTagStatusrequiredA creative tag's lifecycle. `PROPOSED` on first use (`Tags` field, coined free-form);
an admin promotes it to `APPROVED` once it earns a place in the shared vocabulary, or
retires it to `ARCHIVED`. The `slug` does not move across this — every creative that already
carries it keeps carrying it, so promotion is a one-document status write. A *rename* is the
one thing that does move it, because the slug is derived from the label; see `set_label`.
Allowed:
proposedapprovedarchivedcreated_bystringrequiredcreated_atstring<date-time>requiredupdated_atstring<date-time>requiredusage_countintegerdefault: 0
any
anymessagestring | anyShow propertiesHide properties
Any of:
string
stringany
anyerrorsstring[] | anyShow propertiesHide properties
Any of:
string[]
Array of
stringstringany
anyRequest
curl -X GET "/api/v1/tags" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/api/v1/tags", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"/api/v1/tags",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"success": true,
"data": [
{
"id": "string",
"slug": "string",
"label": "string",
"status": "proposed",
"created_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"usage_count": 0
}
],
"message": "string",
"errors": [
"string"
]
}