For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a widget

Returns a single widget by its identifier. The identifier of a product collection widget returns 404.

Localizable attribute values are returned in the language of the request — see IGNORE_ACCEPT_LANGUAGE_HEADER under Dynamic Settings & Environment Variables.

get
/widgets/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the widget.

Responses
200

The requested widget.

application/json

A CMS widget.

pkintegerRead-onlyOptional

The unique identifier of the widget.

created_datestring · date-timeRead-onlyOptional

When the widget was created.

modified_datestring · date-timeRead-onlyOptional

When the widget was last changed.

namestring · max: 255Optional

The display name of the widget. Not unique.

slugstring · max: 255Optional

The unique, normalized (lower-case, hyphenated) key the storefront uses to look the widget up.

widget_typeintegerOptional

The identifier of the widget type.

templatestring · max: 512Optional

The path of the template used to render the widget.

get/widgets/{id}/
GET /api/v1/remote/1/widgets/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "pk": 12,
  "created_date": "2026-09-29T09:08:29.608203Z",
  "modified_date": "2026-09-29T09:08:29.608215Z",
  "name": "Home Hero Banner",
  "slug": "home-hero-banner",
  "widget_type": 3,
  "template": "widgets/hero-banner.html",
  "attributes": {
    "title": "Summer Sale",
    "subtitle": "Up to 50% off"
  },
  "attributes_kwargs": {}
}

Last updated

Was this helpful?