Skip to content
Poptin logo

Connectors / Marketing · HTTP Connector

Poptin integration and API

Update a contact and create a property in Poptin, and start a workflow when Poptin sends “Lead captured”.

What can you do with Poptin on Tray.ai?

Poptin is a website popup, form and email marketing tool that captures visitor leads, segments contacts, and sends email campaigns and automations. Tray.ai connects to Poptin through the HTTP Connector, so your workflows can call the Poptin API alongside the rest of your stack.

  • When Poptin sends “Lead captured”, add the lead to your CRM and assign it to sales.
  • Add the contact to your email marketing list when Poptin sends “Form submitted”.
  • Pause a poptin when the linked offer sells out in your online store.
  • Upsert a contact when a customer's details change in your CRM.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.popt.in/v1

Set it up

Connect Poptin to Tray.ai

Each step uses Poptin's own API details, from its documentation.

Save Poptin's API token

Save the token Poptin issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.popt.in/v1 as the base URL. Or paste a cURL example from Poptin's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List poptins”

It's one of 22 documented actions, under Poptins. The response comes back as data the next step can map into your other apps.

Start workflows from Poptin events

Give Poptin the URL of a Tray.ai webhook trigger. “Lead captured” can then start a workflow, and so can 1 other event.

Workflows to build with Poptin

Connect Poptin with HubSpot, Shopify, Salesforce and Slack

Each one uses actions and events from Poptin's own API documentation.

Send Poptin leads to HubSpot

When

Lead captured

Then

  1. Get a contact
  2. Create or update the contact in HubSpot

With HubSpot

Add Shopify customers to Poptin contacts

When

A customer is created in Shopify

Then

  1. Upsert a contact with the customer details

With Shopify

Create Salesforce leads from Poptin form submissions

When

Form submitted

Then

  1. Create a lead in Salesforce
  2. Post a message to the sales channel in Slack

With Salesforce and Slack

Apps you can build on Poptin data

Internal tools your team can build with an AI assistant, each one using Poptin calls from its API documentation.

Popup control panel

Lists popups and campaigns and lets marketers pause or resume each one.

Captured lead review

Lists new leads and conversions and lets the team update contact details.

Give your AI agents Poptin tools

Build an MCP server on Poptin in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List poptins
  • List contacts
  • List campaigns
  • List conversions
  • List properties
  • Get a poptin
  • Pause a poptin
  • Resume a poptin

What the Poptin API covers

5 resources and 22 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Poptins

  • List poptins
  • Get a poptin
  • Pause a poptin
  • Resume a poptin
  • Delete a poptin

Contacts

  • List contacts
  • Get a contact
  • Upsert a contact
  • Update a contact
  • Delete a contact

Campaigns

  • List campaigns
  • Get a campaign
  • Pause a campaign
  • Resume a campaign
  • Delete a campaign

Conversions

  • List conversions
  • Get a conversion
  • Delete a conversion

Contact properties

  • List properties
  • Create a property
  • Update a property
  • Delete a property

Events Poptin can send to a Tray.ai webhook trigger

  • Lead captured
  • Form submitted

Checked against Poptin's own documentation on 2026-10-22

developers.poptin.com/docs/quickstart

Frequently asked questions

What can a Tray.ai workflow do in Poptin?

The Poptin API documents 22 actions across 5 resources (Poptins, Contacts, Campaigns, Conversions, Contact properties). For example: List poptins; List contacts; List campaigns. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Poptin?

The Poptin API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Poptin events can start a Tray.ai workflow?

Poptin sends 2 events to a webhook URL, for example: Lead captured; Form submitted. A Tray.ai webhook trigger receives them and starts a workflow.

See Poptin working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.