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

List widget types

Returns a paginated list of widget types.

Filter with name (case-insensitive contains). Order results with sort on pk or name.

get
/widget_types/
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 type name. Case-insensitive contains match — ?name=camp matches Campaigns.

Responses
200

A paginated list of widget types.

application/json

A paginated list of widget types.

countintegerOptional

Total number of widget types 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/widget_types/
GET /api/v1/remote/1/widget_types/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "count": 1,
  "next": null,
  "previous": null,
  "results": [
    {
      "pk": 1,
      "name": "hero_banner",
      "schema": {
        "title": {
          "type": "text",
          "required": true
        },
        "image": {
          "type": "image",
          "required": false
        }
      }
    }
  ]
}

Last updated

Was this helpful?