cURL
curl --request POST \ --url https://app.tryordinal.com/api/v1/labels \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Engineering", "color": "green" } '
{ "id": "550e8400-e29b-41d4-a716-446655440402", "name": "Engineering", "color": "#16a34a", "backgroundColor": "#dcfce7", "createdAt": "2026-01-05T10:30:00.000Z", "updatedAt": "2026-01-05T10:30:00.000Z" }
Create a new label in the workspace
API key authentication. Generate an API key from your workspace settings.
1
yellow
purple
orange
red
brown
green
Label created
Hex color code
Hex background color code
Was this page helpful?