Skip to main content
The Widgetic API allows you to programmatically manage widgets, compositions, canvases, and more within your own account.

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: A workspace key works only while its workspace is on a paid plan: see Keys and your workspace plan.

Core Resources

Widgets

Create and manage individual widgets

Compositions

Combine widgets into layouts

Canvases

Work with widget editing canvases

Embedding

Show published compositions on your site

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 the RateLimit-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:
See Idempotency for more details.

Using an SDK

Widgetic publishes a library for TypeScript, Python, Go, Java, C#, Ruby, PHP and Bash. A library takes your API key, builds the request and hands you the answer as typed objects. Install the one for your language:
Then make a first call, or read what the libraries are and how their versions work.

Next Steps

1

Explore Widgets

2

Build Compositions

Combine widgets into compositions
3

Check API Reference

Browse the complete API Reference
4

Call it from your language

Use an SDK for TypeScript, Python, Go, Java, C#, Ruby or PHP