Who Is This For?
This section is for developers who:- Want to integrate Widgetic widgets into their applications
- Need to manage widgets programmatically
- Are building tools that interact with their Widgetic account
If you’re a partner looking to embed the canvas in your platform, see the Partner Documentation instead.
API Key Types
Self-serve developers typically use:Core Resources
Widgets
Create and manage individual widgets
Compositions
Combine widgets into layouts
Canvases
Work with widget editing canvases
Quick Example
Here’s how to fetch your widgets using the API:API Response Format
All API responses follow a consistent format:Success Response
Error Response
Pagination
List endpoints page their results with these parameters:
Each endpoint’s reference page says which of these it accepts.
GET /widgets takes page and size but not sort (it is always newest first), and it returns the whole list when you pass neither, so always page it when you do not know how many widgets an account holds.
Example:
Rate Limits
API requests are counted per API key over a 15-minute window, and the allowance depends on your plan. A partner key is held to a ceiling of 1,000,000 requests per 15 minutes, which is there to stop a runaway loop, not to meter a platform. Read the allowance that applies to you from theRateLimit-Limit header of any response.
A request over the limit is refused with 429 Too Many Requests and a Retry-After header.
See Rate Limits for more details.
Idempotency
For state-changing requests (POST, PATCH, and PUT on the endpoints that document it), provide an idempotency key so a retry never runs the operation twice. Some endpoints, such as POST /widgets, require it:
Using the SDK
We recommend using the TypeScript SDK for the best experience:- Type safety: Full TypeScript definitions
- Convenience: Automatic authentication handling
- Flexibility: Static tokens or async token providers
Next Steps
1
Explore Widgets
Learn how to create and manage widgets
2
Build Compositions
Combine widgets into compositions
3
Check API Reference
Browse the complete API Reference