> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# popupTemplates

> List the built-in popup templates, optionally filtered by category or layout. The list is the same for every store. Start a popup from one with `popupCreate`.

**Required scopes:** [`campaigns_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-campaigns_read)

## Arguments

**category** `[PopupTemplateCategory](/docs/api-reference/v3/reference/marketing/popup-template-category)`

Only include templates with this category.

**type** `[PopupTemplateType](/docs/api-reference/v3/reference/marketing/popup-template-type)`

Only include templates with this layout.

## Returns

**popupTemplates** `[\[PopupTemplate!\]!](/docs/api-reference/v3/reference/marketing/popup-template)` *required*

A built-in starting point for a popup. Pass its `id` to `popupCreate` as `templateId`.

**fields**

**category** `[PopupTemplateCategory!](/docs/api-reference/v3/reference/marketing/popup-template-category)` *required*

What the template is for.

**description** `String!` *required*

What the template does and when it shows.

**id** `[PopupTemplateId!](/docs/api-reference/v3/reference/marketing/popup-template-id)` *required*

The template's id. Not a popup id.

**name** `String!` *required*

The template's name, which a popup made from it gets by default.

**steps** `[\[PopupTemplateStep!\]!](/docs/api-reference/v3/reference/marketing/popup-template-step)` *required*

The steps the template starts with, in order.

**fields**

**name** `String!` *required*

The merchant-facing name of the step.

**type** `[PopupTemplateType!](/docs/api-reference/v3/reference/marketing/popup-template-type)` *required*

How the template is laid out.

## Example

```graphql theme={null}
query {
  popupTemplates(category: CONVERSION, type: DRAWER) {
    category
    description
    id
    name
    type
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.