---
title: "Tags API Reference | Linkbreakers"
description: "The labels you put on links to group and filter them: list them, or delete tags from every link that carries them."
canonical: "https://linkbreakers.com/help/api/tags"
---

# Tags

The labels you put on links to group and filter them: list them, or delete tags from every link that carries them.

3 entries on this page

## The tag object

Tag.

Provides lightweight segmentation metadata Linkbreakers attaches to links and analytics so teams can group campaigns and filter dashboards.

`createdAt` string (date-time) 

Read-only

When the tag was created

`id` string

The unique identifier of the tag (UUID)

`name` string

The name of the tag

`updatedAt` string (date-time) 

Read-only

When the tag was last updated

Example tag

```json
{
  "createdAt": "2026-03-14T09:30:00Z",
  "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
  "name": "restaurant",
  "updatedAt": "2026-03-18T16:05:00Z"
}
```

### Parameters

`search` string 

query

The search query to filter tags by name

`pageSize` integer (int64) 

query

Required

The maximum number of tags to return

`pageToken` string 

query

The token for retrieving the next page of results If not provided, the first page of results will be returned

`cursor` string 

query

Opaque cursor from the previous page's nextPageToken. Same as pageToken; when both are sent, pageToken wins.

### Response

200

`nextPageToken` string

Token for retrieving the next page of results.

Cursor to continue listing tags

`tags` array of object

The list of tags matching the search criteria

Fields: [The tag object](#tags-object).

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X GET "https://api.linkbreakers.com/v1/tags?pageSize={pageSize}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

Response 200

```json
{
  "nextPageToken": "eyJ0YWdJZCI6IjEwIn0=",
  "tags": [
    {
      "createdAt": "2026-03-14T09:30:00Z",
      "id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
      "name": "restaurant",
      "updatedAt": "2026-03-18T16:05:00Z"
    }
  ]
}
```

### Parameters

`name` string 

query

Required

Tag name to remove (must exactly match an existing tag within the workspace)

### Response

200

An empty JSON object.

Errors answer 4xx or 5xx with the [error object](https://linkbreakers.com/help/api#errors), and `429` past the [rate limit](https://linkbreakers.com/help/api#rate-limits).

Request

```bash
curl -X DELETE "https://api.linkbreakers.com/v1/tags?name={name}" \
  -H "Authorization: Bearer $LINKBREAKERS_TOKEN"
```

---

Source: https://linkbreakers.com/help/api/tags
