---
updatedAt: 2026-06-25T14:31:13.000Z
agentTools:
  projectIndex: https://personalization.developer.dotdigital.com/llms.txt
---

# List slots

Retrieves a list of the slots.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Slots API",
    "description": "Manages slots within Dotdigital Personalization. Slots are the placeholders on a web page or digital surface where personalised content blocks are rendered. Operations include listing all slots for a website, creating new slots, retrieving a specific slot's configuration, updating slot properties, and deleting slots.",
    "version": "1.0.1"
  },
  "servers": [
    {
      "url": "https://{region}-api-freshrelevance.dotdigital.com/api",
      "variables": {
        "region": {
          "description": "The region id your account belongs to",
          "enum": [
            "r1",
            "r2",
            "r3"
          ],
          "default": "r1"
        }
      }
    }
  ],
  "security": [
    {
      "apiTokenAuth": []
    }
  ],
  "paths": {
    "/{website_id}/slots/": {
      "get": {
        "tags": [
          "Manage slot"
        ],
        "summary": "List slots",
        "description": "Retrieves a list of the slots.",
        "operationId": "getListSlots",
        "parameters": [
          {
            "name": "website_id",
            "in": "path",
            "description": "Website ID for the account you are posting data to.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "abc123"
          },
          {
            "name": "format",
            "in": "query",
            "description": "Get data in JSON format.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "json"
              ]
            },
            "example": "json"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Get this number of records to return in results array (pagination).",
            "schema": {
              "minimum": 1,
              "type": "integer",
              "default": 25
            },
            "example": 50
          },
          {
            "name": "page",
            "in": "query",
            "description": "Which page of results you wish to return; First page is indexed as 1.",
            "schema": {
              "type": "integer",
              "default": 1
            },
            "example": 1
          },
          {
            "name": "tags",
            "in": "query",
            "description": "A comma seperated list of tags to match.",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "example": "Recommendation,Banner"
          },
          {
            "name": "folder_id",
            "in": "query",
            "description": "If provided only slots contained in the specified folder will be returned.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "abc12345"
          },
          {
            "name": "slot_type",
            "in": "query",
            "description": "If provided only slots of the type in the specified will be returned.\n* **e** - Email slot\n* **te** - Triggered email slot\n* **w** - Web slot",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "e",
                "te",
                "w"
              ]
            },
            "example": "e"
          },
          {
            "name": "search_string",
            "in": "query",
            "description": "Returns only Slots that have the search string in either it's **name** or **slug** parameters.",
            "required": false,
            "schema": {
              "type": "string"
            },
            "example": "test"
          },
          {
            "name": "include_deleted",
            "in": "query",
            "description": "Indicates whether to include deleted slots or not.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "example": true
          },
          {
            "name": "load_smartblock_list",
            "in": "query",
            "description": "Indicates whether to return the **smartblocks** field or not, containing l list of Smartblocks that are used in the slot.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "example": true
          },
          {
            "name": "include_empty_slots",
            "in": "query",
            "description": "Indicates whether to include slots with no Smartblocks or not.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "include_live_flag",
            "in": "query",
            "description": "Indicates whether to include **is_live** fields or not, which indicates that the content has recently received an impression.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "example": true
          }
        ],
        "responses": {
          "200": {
            "description": "The slots content in the requested format.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/inline_response_200"
                },
                "examples": {
                  "success": {
                    "value": {
                      "count": 2,
                      "total": 132,
                      "page": 1,
                      "links": {
                        "next": "https://api.freshrelevance.com/api/abc1234/slots/?limit=2&page=2&tags=Recommendation%2CBanner&include_deleted=false&load_smartblock_list=true&include_empty_slots=false&include_live_flag=true"
                      },
                      "results": [
                        {
                          "slug": "ls-test-old-smartblock-2dot",
                          "name": "LS test old smartblock-2dot",
                          "type": "Email Personalization",
                          "dt": "2024-11-20T14:43:43.648000",
                          "personalised": true,
                          "item_count": 3,
                          "width": 198,
                          "height": 334,
                          "tags": [
                            "Recommendation"
                          ],
                          "smartblock_type": "product",
                          "folder_id": "5f95ytrvghmq",
                          "active": true,
                          "last_edited_by": "joe.bloggs",
                          "locked": false,
                          "ignore_control_group": false,
                          "merge_params": [
                            "prid"
                          ],
                          "preview_url": "https://c8.dycdn.net/abc1234/s/ls-test-old-smartblock-2dot/?preview=true&k=ocemgn4",
                          "thumbnail_url": "https://c8.dycdn.net/abc1234/s/ls-test-old-smartblock-2dot/?format=thumb&k=ocemgn4&cachebust=1733222058638",
                          "details": "https://api.freshrelevance.com/api/abc1234/slots/ls-test-old-smartblock-2dot/",
                          "smartblocks": [
                            {
                              "slug": "j2t8lei",
                              "name": "LS test old smartblock",
                              "type": "product",
                              "dt": "2024-11-07T10:23:10.771000"
                            }
                          ],
                          "is_live": false
                        },
                        {
                          "slug": "ls-test-min-width",
                          "name": "ls test min width",
                          "type": "Email Personalization",
                          "dt": "2024-11-20T14:43:43.645000",
                          "personalised": true,
                          "item_count": 1,
                          "width": 0,
                          "height": 0,
                          "tags": [
                            "Banner"
                          ],
                          "smartblock_type": "banner",
                          "folder_id": "5f95ytrvghmq",
                          "active": true,
                          "last_edited_by": "joe.bloggs",
                          "locked": false,
                          "ignore_control_group": false,
                          "merge_params": [],
                          "preview_url": "https://c8.dycdn.net/abc1234/s/ls-test-min-width/?preview=true&k=ocemgn4",
                          "thumbnail_url": "https://c8.dycdn.net/abc1234/s/ls-test-min-width/?format=thumb&k=ocemgn4&cachebust=1733222059386",
                          "details": "https://api.freshrelevance.com/api/abc1234/slots/ls-test-min-width/",
                          "smartblocks": [
                            {
                              "slug": "bpf5d3l",
                              "name": "ls test min width",
                              "type": "banner",
                              "dt": "2024-10-28T09:46:03.915000"
                            }
                          ],
                          "is_live": true
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/403Response"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Slot": {
        "required": [
          "active",
          "details",
          "dt",
          "folder_id",
          "ignore_control_group",
          "item_count",
          "last_edited_by",
          "locked",
          "merge_params",
          "name",
          "personalised",
          "preview_url",
          "slug",
          "tags",
          "thumbnail_url",
          "type"
        ],
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Unique id for the slot.",
            "example": "279326-merge-test"
          },
          "name": {
            "type": "string",
            "description": "Name of slot.",
            "example": "279326-merge-test"
          },
          "type": {
            "type": "string",
            "description": "The Slots type",
            "example": "Email Personalization"
          },
          "dt": {
            "type": "string",
            "description": "Date last modified in ISO-8601 format.",
            "example": "2024-10-31T05:38:33.878Z"
          },
          "personalised": {
            "type": "boolean",
            "description": "If the slot uses personalisation or not",
            "example": true
          },
          "item_count": {
            "type": "integer",
            "description": "Number of itesm of content in the slot.",
            "example": 3
          },
          "width": {
            "type": "integer",
            "description": "Width in pixels of the the slot.",
            "nullable": true,
            "example": 600
          },
          "height": {
            "type": "integer",
            "description": "Height in pixels of the the slot.",
            "nullable": true,
            "example": 400
          },
          "tags": {
            "type": "array",
            "description": "Tags associated with the slot.",
            "example": [
              "promo",
              "landing_page"
            ],
            "items": {
              "type": "string"
            }
          },
          "smartblock_type": {
            "type": "string",
            "description": "The Smartblock type used in the slot",
            "nullable": true,
            "example": "Countdown"
          },
          "folder_id": {
            "type": "string",
            "description": "The folder identifier the slot is assigned to.",
            "nullable": true,
            "example": "35437653dfe"
          },
          "active": {
            "type": "boolean",
            "description": "Indicates whether the slot is in use or not.",
            "example": true
          },
          "locked": {
            "type": "boolean",
            "description": "Indicates whether the slot is locked to prevent editing or not.",
            "example": false
          },
          "last_edited_by": {
            "type": "string",
            "description": "Username of who updated the Slot last.",
            "nullable": true,
            "example": "joe.blogs"
          },
          "ignore_control_group": {
            "type": "boolean",
            "description": "Indicates whether the slots control group is ignored or not.",
            "example": false
          },
          "merge_params": {
            "type": "array",
            "description": "Any merge parameters that apply to this slot.",
            "items": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            }
          },
          "preview_url": {
            "type": "string",
            "description": "URL to preview the slot.",
            "format": "url"
          },
          "thumbnail_url": {
            "type": "string",
            "description": "URL to thumbnail of the slot.",
            "format": "url"
          },
          "details": {
            "type": "string",
            "description": "URL to retrive the slots details.",
            "format": "url"
          }
        }
      },
      "PaginatedData": {
        "required": [
          "count",
          "links",
          "page",
          "total"
        ],
        "type": "object",
        "properties": {
          "page": {
            "minimum": 1,
            "type": "integer",
            "description": "The index for the page of data returned.",
            "example": 1
          },
          "count": {
            "minimum": 0,
            "type": "integer",
            "description": "Number of records in the page.",
            "example": 12
          },
          "total": {
            "minimum": 0,
            "type": "integer",
            "description": "Total number of records in the set.",
            "example": 12
          },
          "links": {
            "$ref": "#/components/schemas/PaginatedData_links"
          }
        },
        "description": "Data page and pagination links"
      },
      "inline_response_200": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginatedData"
          },
          {
            "required": [
              "results"
            ],
            "type": "object",
            "properties": {
              "results": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Slot"
                }
              }
            },
            "description": "The slots content in the requested format."
          }
        ]
      },
      "PaginatedData_links": {
        "type": "object",
        "properties": {
          "next": {
            "type": "string",
            "description": "URL of the next page.",
            "format": "url",
            "nullable": true
          },
          "previous": {
            "type": "string",
            "description": "URL of the previous page.",
            "format": "url",
            "nullable": true
          }
        },
        "description": "Page navigation links"
      }
    },
    "responses": {
      "ErrorResponse": {
        "description": "An error occurred",
        "content": {
          "application/json": {
            "schema": {
              "required": [
                "error",
                "ok"
              ],
              "type": "object",
              "properties": {
                "ok": {
                  "type": "boolean",
                  "description": "Indicates the call failed",
                  "enum": [
                    false
                  ]
                },
                "error": {
                  "oneOf": [
                    {
                      "type": "string",
                      "description": "The reason the call errored",
                      "example": "Validation error. No folder bd8eciompb7y, unable to delete"
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "example": "This field may not be null."
                        }
                      },
                      "description": "Fields with issues and their errors"
                    }
                  ]
                }
              }
            }
          }
        }
      },
      "403Response": {
        "description": "Forbidden - Usually you are requesting data for a website you don't have access to."
      }
    },
    "securitySchemes": {
      "apiTokenAuth": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "csharp",
    "java",
    "javascript",
    "node",
    "python",
    "php",
    "ruby"
  ]
}
```

# Sibling pages

* [Create slot](https://personalization.developer.dotdigital.com/reference/postcreateslot.md)
* [Get slot](https://personalization.developer.dotdigital.com/reference/getgetslot.md)
* [Update slot](https://personalization.developer.dotdigital.com/reference/postupdateslot.md)
* [Delete slot](https://personalization.developer.dotdigital.com/reference/deldeleteslot.md)
* [Clone slot](https://personalization.developer.dotdigital.com/reference/postcloneslot.md)