Skip to content
Docs

Widgets API

The widget catalog and the looks of a widget.

View as Markdown
On this page

Authenticate with a personal token as Authorization: Bearer pxp_...; the operations are also MCP tools unless noted. The full machine-readable definition is in the OpenAPI specification.

OperationMethod and pathScope
List widgetsGET /widgetsoverlays:read
Get widgetGET /widgets/{slug}overlays:read
List presets and look kitsGET /presetsoverlays:read

Operations

List widgets

GET/api/v1/widgets

Lists the widgets you can add as layers (slug, name, kind, availability, looks). With overlayId, availability is computed for that overlay's owner. Use get_widget for field definitions, commands and actions.

Scope: overlays:read (Read overlays) · MCP tool: list_widgets · Notes: read only

NameInTypeRequiredDescription
overlayIdquerystringoptionalOptional: compute availability for this overlay (shared overlays use the owner's unlocks). Up to 64 characters
Terminal
curl -X GET "https://pxstudio.cloud/api/v1/widgets" \
  -H "Authorization: Bearer $PX_TOKEN"

Get widget

GET/api/v1/widgets/{slug}

Returns one widget's field definitions (key, type, default, options, min/max), looks, declared chat commands and canvas actions.

Scope: overlays:read (Read overlays) · MCP tool: get_widget · Notes: read only

NameInTypeRequiredDescription
slugpathstringrequiredUp to 80 characters
overlayIdquerystringoptionalOptional: availability for this overlay's owner. Up to 64 characters
Terminal
curl -X GET "https://pxstudio.cloud/api/v1/widgets/<slug>" \
  -H "Authorization: Bearer $PX_TOKEN"

List presets and look kits

GET/api/v1/presets

Lists the New-Overlay presets (use with create_overlay) and the look kits (color/font tokens and per-widget settings values; use with add_member lookKit).

Scope: overlays:read (Read overlays) · MCP tool: list_presets · Notes: read only

Terminal
curl -X GET "https://pxstudio.cloud/api/v1/presets" \
  -H "Authorization: Bearer $PX_TOKEN"

Was this page helpful?