Skip to main content
GET/form/

Get all pop-ups

You can return all of your existing pop-ups

Results are paginated: follow next to get the next page (see Response pagination).

Request​

curl -X GET "https://<your_app_subdomain>.user.com/api/public/form/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2"

Response examples​

{
"count": 2,
"next": null,
"previous": null,
"results": [
{
"key": "g7lvoickax9e",
"statistics": ,5 fields
"name": "Spring sale banner",
"description": "Shown on the home page.",
"created_at": "2026-11-17T15:02:02.072630Z",
"updated_at": "2026-11-17T15:02:02.072652Z",
"content": "<p>Spring sale: 20% off everything this week.</p>",
"preview": null,
"predefined_template_json": null,
"preview_file": null,
"author": 1,
"category": null,
"folder": null
},
{
"key": "g7lvoickax9e",
"statistics": ,5 fields
"name": "20261117-1551-Spring sale banner",
"description": "20261117-1551-Shown on the home page.",
"created_at": "2026-11-17T14:53:38.718701Z",
"updated_at": "2026-11-17T14:53:40.108193Z",
"content": "<p>Spring sale: 20% off everything this week.</p>",
"preview": null,
"predefined_template_json": null,
"preview_file": "https://<your_app_subdomain>.user.com/previews/forms/f9fb9a20-e31c-4175-8966-7961f6537741_n1JFHV2.png",
"author": 1,
"category": null,
"folder": null
}
]
}

Response fields​

Fields returned in the 200 OK response body.

countinteger
Number of results across all pages. It can lag behind recent changes; see Response pagination.
nextstring (URL)nullable
URL of the next page of results. null on the last page.
previousstring (URL)nullable
URL of the previous page of results. null on the first page.
resultsarray of objects
Results on this page.
results[].keystring
Unique key of the pop-up.
results[].statisticsobject
How often the pop-up was shown and submitted.
results[].statistics.idinteger
ID of the statistics record.
results[].statistics.ctrstring
Submissions as a percentage of times shown, as a string with two decimal places; 0.00 if the pop-up hasn't been shown.
results[].statistics.shown_counterinteger
Number of times the pop-up was shown.
results[].statistics.submit_counterinteger
Number of times the pop-up's form was submitted.
results[].statistics.formstring
Key of the pop-up these statistics belong to.
results[].namestring
Name of the pop-up.
results[].descriptionstring
Description of the pop-up; an empty string if it has none.
results[].created_atstring (date-time)
When the pop-up was created, ISO 8601.
results[].updated_atstring (date-time)
When the pop-up was last updated, ISO 8601.
results[].contentstring
HTML content of the pop-up.
results[].previewstringnullable
Older preview image field that the panel no longer fills; the current preview is in preview_file.
results[].predefined_template_jsonobjectnullable
Editable parts of the predefined template the pop-up was made from: texts, images, links, buttons, colors and form fields. null if the pop-up wasn't made from a template.
results[].predefined_template_json.linksarray of objects
Links in the template.
results[].predefined_template_json.links[].elstring
CSS selector of the link in the pop-up's HTML.
results[].predefined_template_json.links[].typestring
Kind of element: link.
results[].predefined_template_json.links[].labelstring
Name of the link in the pop-up builder.
results[].predefined_template_json.links[].styleobject
CSS styles applied to the link.
results[].predefined_template_json.links[].style.colorstring
Text color of the link.
results[].predefined_template_json.links[].style.borderColorstring
Border color of the link.
results[].predefined_template_json.links[].style.backgroundColorstring
Background color of the link.
results[].predefined_template_json.links[].valuestring
Text of the link.
results[].predefined_template_json.imagesarray of objects
Images in the template.
results[].predefined_template_json.images[].elstring
CSS selector of the image element in the pop-up's HTML.
results[].predefined_template_json.images[].srcstring (URL)
URL of the image.
results[].predefined_template_json.images[].rulestring
How the image is applied: src sets the element's source, background sets it as the element's background image.
results[].predefined_template_json.images[].typestring
Kind of element: image.
results[].predefined_template_json.images[].labelstring
Name of the image in the pop-up builder.
results[].predefined_template_json.images[].dimensionstring
Recommended image size in pixels, as width x height, for example 350 x 390.
results[].predefined_template_json.otherColorobject
A color shared by several elements of the template.
results[].predefined_template_json.otherColor.colorobject | string
The shared color.
results[].predefined_template_json.otherColor.elementsarray of objects
Elements that take the shared color.
results[].predefined_template_json.otherColor.elements[].elstring
CSS selector of the element.
results[].predefined_template_json.otherColor.elements[].colorPropsstring
CSS property the color is set on: color, border-color, fill or stroke.
results[].predefined_template_json.backdropColorobject
Color of the backdrop behind the pop-up.
results[].predefined_template_json.backdropColor.elstring
CSS selector of the backdrop element.
results[].predefined_template_json.backdropColor.typestring
Kind of element: background-color.
results[].predefined_template_json.backdropColor.styleobject
CSS styles applied to the backdrop.
results[].predefined_template_json.backdropColor.style.backgroundColorobject
Backdrop color as red, green, blue and opacity values.
results[].predefined_template_json.backdropColor.style.backgroundColor.anumber
Opacity, from 0 (transparent) to 1.
results[].predefined_template_json.backdropColor.style.backgroundColor.binteger
Blue value, 0 to 255.
results[].predefined_template_json.backdropColor.style.backgroundColor.ginteger
Green value, 0 to 255.
results[].predefined_template_json.backdropColor.style.backgroundColor.rinteger
Red value, 0 to 255.
results[].predefined_template_json.backgroundColorobject
Background color of the pop-up.
results[].predefined_template_json.backgroundColor.elstring
CSS selector of the pop-up's background element.
results[].predefined_template_json.backgroundColor.typestring
Kind of element: background-color.
results[].predefined_template_json.backgroundColor.styleobject
CSS styles applied to the background.
results[].predefined_template_json.backgroundColor.style.backgroundColorstring
Background color as a CSS color, for example #ffffff.
results[].predefined_template_json.formPlaceholderobject
The pop-up's form.
results[].predefined_template_json.formPlaceholder.elstring
CSS selector of the form element.
results[].predefined_template_json.formPlaceholder.listarray of objects
Fields in the form.
results[].predefined_template_json.formPlaceholder.list[].idstring
ID of the field in the pop-up's HTML.
results[].predefined_template_json.formPlaceholder.list[].labelstring
Label shown with the field.
results[].predefined_template_json.formPlaceholder.list[].orderinteger
Position value from the template. It's 0 in the predefined templates and the pop-up builder doesn't use it.
results[].predefined_template_json.formPlaceholder.list[].receiverstring
Contact attribute the field's value is saved to.
results[].predefined_template_json.formPlaceholder.list[].requiredboolean
Whether the field must be filled in before the form can be sent.
results[].predefined_template_json.formPlaceholder.list[].componentstring
Empty string in the predefined templates; the pop-up builder doesn't use it.
results[].predefined_template_json.formPlaceholder.list[].can_removeboolean
false if the field can't be removed in the pop-up builder.
results[].predefined_template_json.formPlaceholder.list[].renderTypestring
How the field is shown: input (one line of text), textarea, checkbox or radio (a rating from 0 to 10).
results[].predefined_template_json.formPlaceholder.list[].placeholderstring
Placeholder text shown in the empty field.
results[].predefined_template_json.formPlaceholder.countinteger
Maximum number of input, textarea and radio fields the form can have.
results[].predefined_template_json.formPlaceholder.no_labelsboolean
Whether the template shows its fields without labels.
results[].predefined_template_json.contentPlaceholdersarray of objects
Texts in the template.
results[].predefined_template_json.contentPlaceholders[].elstring
CSS selector of the text element in the pop-up's HTML.
results[].predefined_template_json.contentPlaceholders[].typestring
Editor used for the text in the pop-up builder: input (one line) or textarea.
results[].predefined_template_json.contentPlaceholders[].labelstring
Name of the text in the pop-up builder.
results[].predefined_template_json.contentPlaceholders[].valuestring
The text.
results[].predefined_template_json.contentPlaceholders[].requiredboolean
Whether the template marks the text as required. The pop-up builder doesn't use it.
results[].predefined_template_json.contentPlaceholders[].maxlengthinteger
Maximum text length set by the template, for example 250. The pop-up builder doesn't enforce it.
results[].predefined_template_json.buttonsarray of objects
Buttons in the template.
results[].predefined_template_json.buttons[].elstring
CSS selector of the button in the pop-up's HTML.
results[].predefined_template_json.buttons[].typestring
Kind of element: button.
results[].predefined_template_json.buttons[].styleobject
CSS styles applied to the button.
results[].predefined_template_json.buttons[].style.colorstring
Text color of the button.
results[].predefined_template_json.buttons[].style.backgroundColorstring
Background color of the button.
results[].predefined_template_json.buttons[].valuestring
Text of the button.
results[].preview_filestring (URL)nullable
URL of the pop-up's preview image, or null if there is none.
results[].authorinteger
ID of the agent who created the pop-up.
results[].categoryintegernullable
ID of the pop-up's category, or null.
results[].folderintegernullable
ID of the folder the pop-up is in, or null.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.