/api/v1/object/field/tagList the workspace tags.
List the workspace tags.
Returns every tag in list order, with usage_count, the number of live
records that hold it, and units, that count split by object. The list is
not paginated. Retired tags are left out unless you ask for them: a tag is
retired when it is deleted while records still hold it.
Query parameters:
search— keep tags whose label or value contains this text, ignoring letter case.include_archived— sendtrueto include retired tags. Omit it to leave them out.
Scope: object.read.
Response 200:
{
"status": 200,
"message": "Tags retrieved successfully",
"data": [
{
"slug": "3f1c9a2e-7b4d-4e0a-9c61-2d8f5b0e41a7",
"label": "VIP",
"value": "VIP",
"color": "#F59E0B",
"is_archived": false,
"usage_count": 12,
"units": [
{ "slug": "contacts", "name": "Contacts", "count": 9 },
{ "slug": "deals", "name": "Deals", "count": 3 }
]
}
]
}
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Responses
Successful response
{
"slug": "string",
"label": "string",
"value": "string",
"color": "string",
"icon": "string",
"is_archived": true,
"usage_count": 1.5,
"units": [
"string"
]
}A retired tag: still rendered on records that hold it, never pickable.
Live records holding this tag across every Unit.
Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs