> ## 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.

# PopupTemplate

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

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

**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.


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