# Popup REST API integrations: export leads, read reports and manage forms

Six popup apps expose different parts of the signup journey to developers. Choose by the record you need to read or the change your server needs to make.

- Page: https://popuppapa.com/rest-api-popup-integrations/
- Updated: 2026-11-30

<a id="start"></a>

A buyer requests two samples on Monday and another six on Friday. Your sales team needs one contact. The warehouse needs two requests with their original quantities. If your nightly job downloads only the latest contact profile, the warehouse may lose Monday’s request. Start with the record your integration needs to preserve.

## Which side starts the request?

With a REST API, your server calls the popup provider. It might ask for yesterday’s responses, update a contact or publish an approved form. A webhook runs in the other direction when the provider sends a new submission to your URL. The two can work together when you need immediate delivery and a way to recover missed records.

We chose six apps to illustrate three jobs: exporting submissions, reporting on signups and managing forms. For example, Popupsmart can return the answers from a campaign, Privy can count signups for a display, and Klaviyo can publish a revised form.

<a id="requirements"></a>

## What does the popup connection need to do?

| Requirement | What to look for |
| --- | --- |
| One row per request | Getsitecontrol exposes individual widget responses. Popupsmart returns campaign leads with the answers in formData. Choose an export that preserves the visitor’s answers on each submission. |
| A current customer profile | Getsitecontrol can create or update a contact by email. Privy exposes contact and consent properties. Decide which system owns each field before sending an update. |
| A daily performance report | Privy offers display performance reports on paid accounts. Getsitecontrol provides widget statistics. Request the counts for one display and period before adding figures from several campaigns. |
| A campaign status change | Poptin can pause or resume an existing popup. Getsitecontrol can change a saved widget’s active status with the required widget permission. |
| A new or revised design | Klaviyo’s Forms API supports drafting, editing and publishing web forms. OptiMonk can turn a finished build into a campaign draft. A browser session is required to publish it. Decide separately who can approve publication. |

<a id="tools"></a>

## 6 popup tools compared by REST API task

The table is ordered by each tool’s overall popup capability score out of 100. Use the connection details below to judge how well each tool fits your workflow. Prices for our recommended popup plans are shown per month. Where annual billing applies, the price is a monthly equivalent. Check which plan includes the connection you need and budget for any separate charges, such as email sends.

| Popup tool | Score / 100 | Papa pick / month |
| --- | --- | --- |
| [Getsitecontrol](https://popuppapa.com/reviews/getsitecontrol/index.md#integrations) Server API · 100,000 widget views per site | 75.71 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $19.00 Monthly price · Email sends extra |
| [Klaviyo](https://popuppapa.com/reviews/klaviyo/index.md#integrations) Server API · 500 active profiles | 70.66 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $20.00 Monthly price · SMS extra |
| [Privy](https://popuppapa.com/reviews/privy/index.md#integrations) Server API · 1,500 mailable contacts · Unlimited emails · 250 SMS credits | 67.01 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $30.00 Monthly price · Extra SMS credits billed separately |
| [OptiMonk](https://popuppapa.com/reviews/optimonk/index.md#integrations) Server API · 20,000 pageviews · 2 domains | 61.2 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $29.00 Monthly price |
| [Poptin](https://popuppapa.com/reviews/poptin/index.md#integrations) Server API · 10,000 visitors · 1 domain | 58.93 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $25.00 Monthly price |
| [Popupsmart](https://popuppapa.com/reviews/popupsmart/index.md#integrations) Server API · 100,000 pageviews · 5 sites · 3,000 emails · 2 users | 55.75 [TOPRATED](https://popuppapa.com/top-rated/index.md) | $69.00 Monthly price |

### Starting points for different needs

#### Popupsmart

For a scheduled lead download from one campaign. Its lead endpoint accepts a date range and returns field answers in pages.

[Popupsmart review](https://popuppapa.com/reviews/popupsmart/index.md#integrations)

#### Privy

For combining display performance with campaign or flow reporting. Paid API access also covers sending order and custom events from your store.

[Privy review](https://popuppapa.com/reviews/privy/index.md#integrations)

#### Klaviyo

For teams that maintain their web form alongside their site releases. The API provides separate operations to change the draft and publish it.

[Klaviyo review](https://popuppapa.com/reviews/klaviyo/index.md#integrations)

<a id="details"></a>

## How each connection works

Open a provider to see what its server API lets you read or change. The reporting job that counts yesterday’s signups and the release job that publishes tomorrow’s form often need different permissions.

Getsitecontrol

### Export form responses or update a contact

Read a widget’s responses to get the answers from each submission. To sync the customer profile, create or update the contact by email. You can also read widget statistics or switch a saved widget on or off with full widget access.

### Papa’s take

For repeat orders, save each response under its own ID. An email address identifies the buyer, who can place several requests.

[Getsitecontrol review](https://popuppapa.com/reviews/getsitecontrol/index.md) · [Response exports](https://developers.getsitecontrol.com/guides/integrations/#export-form-responses) · [Contact updates](https://developers.getsitecontrol.com/api/operations/upsert_contact/) · [Widget updates](https://developers.getsitecontrol.com/api/operations/update_widgets/)

Klaviyo

### Create, edit and publish a signup form

Create a web form as a draft or retrieve an existing form with its versions. You can change the draft’s fields, steps and triggers, then submit a publish job when it is ready to go live.

### Papa’s take

Fetch the form immediately before editing. An update replaces its definition, so send back every version and keep live versions intact.

[Klaviyo review](https://popuppapa.com/reviews/klaviyo/index.md) · [Forms API](https://developers.klaviyo.com/en/reference/forms)

Privy

### Read signups for a display

On a paid account, list displays and retrieve views and signups for a display ID and date range. Other endpoints let you update contacts, send order or custom events, and read campaign and flow reports.

### Papa’s take

Use the display’s signup count for popup reporting. Counting new contact profiles misses signups from people already on your list.

[Privy review](https://popuppapa.com/reviews/privy/index.md) · [Display reports](https://help.privy.com/docs/api-reference/get-display-performance) · [API reference](https://help.privy.com/docs/api-reference/overview)

OptiMonk

### Turn a finished popup build into a campaign draft

Read a build by its run ID, request a change to the generated popup, then create a campaign draft from the finished build. Open the campaign in the browser to publish it.

### Papa’s take

Save the run ID when creating a build. OptiMonk’s API specification says its list endpoint always returns an empty list. Retrieve an existing build by ID.

[OptiMonk review](https://popuppapa.com/reviews/optimonk/index.md) · [REST API specification](https://agentic.optimonk.com/.well-known/openapi.json) · [Build retries](https://support.optimonk.com/en/articles/api-keys-and-the-mcp-endpoint)

Poptin

### Resume an existing popup and read its conversions

List popups in a subaccount, pause or resume one by ID, and retrieve analytics or conversion records. API access is available on every plan. Each key works only in the subaccount selected when it was created.

### Papa’s take

For a recurring promotion, keep the existing popup’s ID. You can resume it when it is inactive. A draft must be published before it can be resumed.

[Poptin review](https://popuppapa.com/reviews/poptin/index.md) · [API access](https://help.poptin.com/en/article/getting-started-with-the-poptin-api-1mc6x2/) · [Resume a popup](https://developers.poptin.com/reference/resumepoptin)

Popupsmart

### Download the leads from one campaign

Request a page of leads with the account API key and campaign ID. Each lead includes its submission date and a formData object containing that form’s field keys and submitted values. You can limit the export to a date range.

### Papa’s take

Map fields using a submission with known answers. The email field in Popupsmart’s example has a form-specific key, so a lookup for a field literally named email can miss it.

[Popupsmart review](https://popuppapa.com/reviews/popupsmart/index.md) · [Lead export API](https://popupsmart.com/help/analytics/how-to-auto-download-leads-using-an-api)

<a id="workflows"></a>

## REST API popup workflows

<a id="export-leads"></a>

### Download the first page of campaign leads

Use a test campaign containing one or two submissions. Enter a known email address and a recognisable answer in a custom field. On your server, set POPUPSMART\_TOKEN to the key from Personal Data and POPUPSMART\_CAMPAIGN\_ID to the test campaign’s ID. The request below retrieves up to two leads. In each lead’s formData object, find your test values and note their field keys.

For a scheduled export, use startDate and endDate to bound the run. Advance skip by the number of leads received and continue until the page is empty or shorter than take. Save the page and its new offset in the same transaction if possible. If you save the offset separately, commit the records first and make the page safe to import again. Popupsmart’s example includes a sessionId. Check whether two submissions can share it before using it as a unique key in your database.

```
curl --get "https://app.popupsmart.com/api/leads" \
  --header "x-token: ${POPUPSMART_TOKEN}" \
  --header "x-campaign-id: ${POPUPSMART_CAMPAIGN_ID}" \
  --data-urlencode "take=2" --data-urlencode "skip=0"
```

[Popupsmart review](https://popuppapa.com/reviews/popupsmart/index.md#integrations)

<a id="recover-responses"></a>

### Recover an enquiry that appeared a day late

Getsitecontrol returns responses for one widget at a time. Follow next\_cursor with the same ordering and filters until you reach the end. Store the response ID with the submitted quantity. The same customer can then appear on two warehouse rows without creating a duplicate customer in sales.

A Monday response awaiting email confirmation can first become visible on Tuesday with Monday’s timestamp. Re-read a window long enough for the confirmations you expect and merge by response ID. Test with one address that submits twice and another that confirms after your first export.

[Getsitecontrol review](https://popuppapa.com/reviews/getsitecontrol/index.md#integrations)

<a id="display-report"></a>

### Build a daily display report in Privy

List the displays in your paid Privy account and copy the ID of the popup you want to measure. Request GET /v1/reports/displays/{display\_id} with period=custom. Privy includes both dates and uses the account’s time zone. For yesterday alone, set start\_date and end\_date to the same date. Omitting the period gives you the last 30 days.

Read data.stats.signups.value and save it with the display ID and date. Compare the first result with the same day in the dashboard. Keeping the ID lets you follow the same popup after someone renames it.

[Privy review](https://popuppapa.com/reviews/privy/index.md#integrations)

<a id="release-form"></a>

### Publish a revised Klaviyo form before a promotion starts

In Klaviyo, retrieve the web form with its definition. Edit only the draft, then submit the complete definition with every version and its ID. When the draft is approved, send a publish request. Klaviyo documents that publication completes before it returns 202. Retrieve the form to confirm its status, then check the revised form on the storefront. The publish job itself cannot be retrieved.

Klaviyo returns 409 if you try to publish a draft A/B test or unpublish a live A/B test. Manage those tests in the form editor.

[Klaviyo review](https://popuppapa.com/reviews/klaviyo/index.md#integrations)

<a id="resume-promotion"></a>

### Restart a seasonal popup in Poptin

List popups with a key for the promotion’s subaccount and check the popup’s ID and status. Send a resume request for an inactive popup. If it is already active, the request returns 200 and leaves it active. A draft returns 422. Open the storefront to check the offer and its submission destination.

[Poptin review](https://popuppapa.com/reviews/poptin/index.md#integrations)

<a id="retry-build"></a>

### Recover an OptiMonk build after a timeout

If you received a run ID before the connection dropped, read the build by that ID or reconnect to its event stream. If the timeout happened before you received an ID, a generation request originally sent with an Idempotency-Key header can be retried with the same key on the same account within 24 hours. The retry returns the original run. If the key has expired or you never supplied one, check the build history in the browser before spending credits on another generation.

[OptiMonk review](https://popuppapa.com/reviews/optimonk/index.md#integrations)

<a id="launch"></a>

## Check the whole journey before launch

Use a test form whose submitted answers you can see in the dashboard. Follow one request through the API and into the system your team uses.

1.  Start with a read-only request from the server. Confirm that the account and the form, widget or campaign ID match the form on the storefront.
2.  Submit twice from one test address using different answers. Inspect what the receiving system kept from each request.
3.  Interrupt an export after the first page has been saved. Restart it and verify that the destination still contains each request once.
4.  For an update or publication, read the current state after a timeout before retrying. Verify the published form on the storefront and check the destination of one test signup.

<a id="questions"></a>

## REST API popup integration FAQ

Can I call a popup REST API from JavaScript on my website?

Keep the account’s private credential on your server. If the job is to open an existing popup when a visitor clicks a button, use the provider’s browser SDK or widget trigger. It serves a different purpose from exporting other visitors’ responses.

Can I export form submissions without setting up a webhook?

Yes. Popupsmart lets a scheduled job read leads for a campaign. Getsitecontrol lets it page through responses for a widget. A webhook is useful when the sales team needs to hear about each new enquiry immediately.

Can an API sync accidentally resubscribe an existing customer?

Yes. In Getsitecontrol, sending status=subscribed for a contact who opted out subscribes that person again. Omit status when updating their profile to preserve their choice. If you know the contact is new and the service enquiry did not include marketing consent, send status=unsubscribed. A new contact otherwise defaults to subscribed.

How does REST access differ from connecting an AI assistant?

A scheduled REST client calls specific operations with an account credential. An assistant using MCP chooses among the tools exposed to it. Check the operation and permission separately for each interface. For example, Privy offers display reporting through REST, while its MCP tools can also prepare email or SMS drafts.

## Related articles

[### Popup integrations

Compare direct connectors, automation bridges and webhooks.](https://popuppapa.com/popup-integrations/index.md)

·

[### Getsitecontrol integrations

Work through backend contact sync, response exports and event subscriptions for one provider.](https://popuppapa.com/getsitecontrol-integrations/index.md#developers)

·

[### Popup tools for Webhooks

Compare delivery formats and duplicate handling when a submission needs to reach your system immediately.](https://popuppapa.com/webhooks-popup-integrations/index.md)
