// Replace API_KEY with your api key
curl --location 'https://api.supahub.com/api/v1/labels?id=clrjfu0l1000nbfg811m40bwp&sortBy=slug%3Aasc&page=1&limit=10' \
--header 'Authorization: Bearer API_KEY'
GET
method
/labels
path

Query Parameters

Below are the query parameters available for customizing the response:

id
string | undefined

Unique identifier for a specific label.

sortBy
(slug | createdAt):(asc | desc)
default:
"slug:asc"

Criteria for sorting the labels list.

limit
1-100
default:
"10"

Maximum number of labels to retrieve per request.

page
1-n
default:
"1"

Page number for pagination.

// Replace API_KEY with your api key
curl --location 'https://api.supahub.com/api/v1/labels?id=clrjfu0l1000nbfg811m40bwp&sortBy=slug%3Aasc&page=1&limit=10' \
--header 'Authorization: Bearer API_KEY'