API Reference
Design System API
The Portal provides an API for RCI design system tokens (colors, typography, spacing) to ensure consistent branding across applications.
Endpoint
GET https://portal.roderickc.com/api/design-systemAuthentication
Requires an API key passed via the X-API-Key header.
Example
curl -H "X-API-Key: YOUR_API_KEY" \
https://portal.roderickc.com/api/design-systemResponse
Returns design tokens including:
- Color palette (primary, secondary, accent colors)
- Typography settings (font families, sizes, weights)
- Spacing scale
- Border radius values
- Shadow definitions