Get Widget Style by ID
Returns a single widget style. Caller must have access to the style's node.
Authentication: Bearer token required.
Endpoint: GET /api/v2/widget-styles/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Widget style UUID |
Response — 200 OK
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"node_id": "550e8400-e29b-41d4-a716-446655440100",
"name": "Brand light",
"primary_color": "#3b82f6",
"secondary_color": "#6b7280",
"background_color": "#ffffff",
"surface_color": "#f9fafb",
"text_color": "#111827",
"muted_text_color": "#6b7280",
"border_color": "#e5e7eb",
"font_family": "system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
"font_size_base": 14,
"font_size_heading": 20,
"font_weight_heading": 600,
"border_radius": 12,
"custom_css": "",
"created_at": "2026-04-25T10:00:00Z",
"updated_at": "2026-04-25T10:00:00Z"
}
| Status | Description |
|---|---|
| 401 | Unauthorized |
| 403 | No access to style's node |
| 404 | Widget style not found |