GET
/
tags
Retrieve a list of tags
curl --request GET \
  --url https://api.supaqr.com/tags \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "color": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ids
string[]

IDs of tags to filter by. eg. ids=id1&ids=id2

The search term to filter the tags by.

Required string length: 1 - 200
sortBy
enum<string>
default:createdAt

The field to sort the tags by.

Available options:
name,
created_at
sortOrder
enum<string>
default:desc

The order to sort the tags by.

Available options:
asc,
desc
page
integer
default:1

The page number for pagination.

Required range: x >= 1
pageSize
integer
default:20

The number of tags per page.

Required range: 1 <= x <= 100

Response

200
application/json

The response is of type object[].