curl --location --request GET 'https://api.superagent.sh/api/v1/tags/{tagId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My tag",
"color": "#FFF",
}
}
Get single tag.
curl --location --request GET 'https://api.superagent.sh/api/v1/tags/{tagId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My tag",
"color": "#FFF",
}
}
tag
ID.curl --location --request GET 'https://api.superagent.sh/api/v1/tags/{tagId}' \
--header 'Content-Type: application/json' \
--header 'Autorization: Bearer <token>'
{
"success": true,
"data": {
"id": "clhjmx2ka00016ilng9y0ha3f",
"userId": "clhj28u1300006ig02ptpm1sh",
"name": "My tag",
"color": "#FFF",
}
}