Ask
Type to search
Endpoints

Tags

Tags are a special part of content piece metadata that can be used for labelling, organization and content filtering. The API provides you full control to retrieve and manage tags.

Retrieve Tag

Retrieves details of the tag specified by ID.

GET
/tags
Query Parameters
idstring
Required

ID of the tag

Response object
idstring

ID of the tag

labelstring

Label assigned to the tag

colorstring

Color assigned to the tag

grayredpinkorangeamberpurpleindigobluecyangreenteallimefuchsiaemerald

Request
Response
{
  "id": "e99b9c3fadd9d6bcfc066627",
  "label": "string",
  "color": "gray"
}

List Tags

Lists existing tags. Supports pagination.

GET
/tags/list
Query Parameters
perPagenumber
20

The number of tags to return per page

pagenumber
1

The page number to fetch

Response object[]
idstring

ID of the tag

labelstring

Label assigned to the tag

colorstring

Color assigned to the tag

grayredpinkorangeamberpurpleindigobluecyangreenteallimefuchsiaemerald

Request
Response
[
  {
    "id": "f78094391d99f69e2a617086",
    "label": "string",
    "color": "gray"
  }
]

Create Tag

Creates a tag with specified label and color.

POST
/tags
Body Parameters
labelstring
Required

Label assigned to the tag

colorstring
gray

Color assigned to the tag Default: `gray`

grayredpinkorangeamberpurpleindigobluecyangreenteallimefuchsiaemerald

Response object
idstring

ID of the tag

Request
Response
{
  "id": "2a8ace5b5814e98d68f6b607"
}

Update Tag

Updates the color or label of the tag matched by ID.

PUT
/tags
Body Parameters
idstring
Required

ID of the tag

labelstring

Label assigned to the tag

colorstring
gray

Color assigned to the tag Default: `gray`

grayredpinkorangeamberpurpleindigobluecyangreenteallimefuchsiaemerald

Response 200
Request

Delete Tag

Deletes the tag specified by ID, removing it from all content pieces and variants that it was assigned to.

DELETE
/tags
Query Parameters
idstring
Required

ID of the tag

Response 200
Request