/v1/workspaces/{workspace_id}/labelsAuthList labels
Every label of the workspace, by name, with how many threads carry each.
Path parameters
workspace_id*string · uuidId of the workspace.
Response · 200
data*arrayEvery label of the workspace, by name (at most 200, so one page).
pagination*objectAlways `{ next_cursor: null, has_more: false }`: the list is never paged.
Example
Request
GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/labels
Authorization: Bearer YOUR_TOKENResponse
{
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Needs reply",
"color": "#e5484d",
"thread_count": 4,
"created_at": "2026-01-01T00:00:00.000Z"
}
],
"pagination": {}
}