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

List widgets

Returns a paginated list of widgets, ordered by identifier unless sort is given. Each widget's type is returned as its identifier; use GET /widgets/detailed/ to embed the full widget type.

Product collection widgets are not included.

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

get
/widgets/
Authorizations
AuthorizationstringRequired

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

Query parameters
pageintegerOptional

The page number to return.

Default: 1
limitintegerOptional

The number of items to return per page.

Default: 10
sortstringOptional

Orders the results by one or more fields. Separate multiple fields with commas. Prefix a field with a hyphen (-) for descending order.

Example: -id
namestringOptional

Filter by widget name. Case-insensitive contains match.

slugstringOptional

Filter by slug. Case-insensitive contains match — ?slug=banner matches hero-banner.

slug__instringOptional

Filter by a comma-separated list of slugs. Each slug is matched exactly.

Example: hero-banner,footer-links
templatestringOptional

Filter by template path. Case-insensitive contains match.

widget_typeintegerOptional

Filter by the identifier of the widget type.

created_date__gtestring · date-timeOptional

Return widgets created at or after this ISO 8601 date-time. A date without a time is rejected with 400. created_date, created_date__gt, and created_date__lt are also accepted.

created_date__ltestring · date-timeOptional

Return widgets created at or before this ISO 8601 date-time.

modified_date__gtestring · date-timeOptional

Return widgets last changed at or after this ISO 8601 date-time. modified_date, modified_date__gt, and modified_date__lt are also accepted.

modified_date__ltestring · date-timeOptional

Return widgets last changed at or before this ISO 8601 date-time.

Responses
200

A paginated list of widgets.

application/json

A paginated list of widgets.

countintegerOptional

Total number of widgets matching the request.

nextstring · nullableOptional

URL of the next page, or null if this is the last page.

previousstring · nullableOptional

URL of the previous page, or null if this is the first page.

get/widgets/
GET /api/v1/remote/1/widgets/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "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?