VoidTrack Docs
API Reference

Labels

GET
/labels
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/labels"
{  "labels": [    {      "id": "string",      "name": "string",      "color": "string"    }  ]}
POST
/labels
AuthorizationBearer <token>

Workspace scoped API key, printed once by pnpm seed or POST /api-keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/labels" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "label": {    "id": "string",    "name": "string",    "color": "string"  }}