Skip to main content
GET
/
api
/
v1
/
tokensets
/
{id}
Get Tokenset
curl --request GET \
  --url http://localhost:3000/api/v1/tokensets/{id} \
  --header 'Authorization: Bearer <token>'
id
string
required
Tokenset ID

Get Tokenset

Retrieves detailed information about a specific tokenset.

Endpoint

GET /api/v1/tokensets/{id}

Request

Path Parameters

ParameterTypeRequiredDescription
idstringYesTokenset ID

Response

Status: 200 OK
{
  "id": "tokenset-123",
  "workspace_id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Colors",
  "description": "Color tokens for the design system",
  "created_at": "2025-01-15T10:00:00Z",
  "updated_at": "2025-01-15T10:00:00Z"
}

Examples

curl -H "Authorization: Bearer dtk_your_token_here" \
  https://app.tokencraft.dev/api/v1/tokensets/tokenset-123

Next Steps