API Reference

Integrate Yubild into your workflow programmatically

Quick Start

curl -X GET https://api.yubild.com/v1/tokens \
  -H "Authorization: Bearer YOUR_API_KEY"

Endpoints

GET

/v1/tokens

List all design tokens

GET

/v1/tokens/:id

Get a specific token

POST

/v1/tokens

Create or update tokens

DELETE

/v1/tokens/:id

Delete a token

GET

/v1/themes

List themes

POST

/v1/export

Export tokens to CSS/Tailwind/SCSS

GET

/v1/projects

List projects

POST

/v1/figma/sync

Sync tokens from Figma

SDKs & Tools

JavaScript / TypeScript

npm install @yubild/sdk

Python

pip install yubild

CLI

npx yubild