API & AI Integrations

Run your email marketing from your AI tool of choice

Connect ChatGPT, Claude, Gemini, or your own custom AI agent to MyEmailProgram through our approved, secure API. Build lists, manage contacts, and create campaigns by simply asking, with no third-party connector or plugin sitting between your AI and your data.

How it works

1. Create a scoped API key

In your account, go to Settings, then API Keys. Name the key, set its rate limit, optionally lock it to specific IP addresses, and check only the permissions this tool needs.

2. Connect your AI tool

Give the key and your account URL to your AI agent, custom GPT, automation, or script. It talks directly to MyEmailProgram through our API, the same approved way any trusted software does.

3. Just ask

Tell your AI what you need in plain English. It handles the API calls, and the work shows up in your MyEmailProgram account, limited to exactly the access you granted.

What you can ask your AI to do

If you can do it in the app, our API can do it. A few examples of everyday requests:

Build a list

"Create a list called CCW Class Graduates and add the 24 students from today's class."

Import leads

"Add everyone from this trade show spreadsheet to my Dealer Leads list."

Create a campaign

"Draft a Black Friday broadcast for my Retail Customers list featuring our top three holsters."

Update contacts

"Add a custom field for FFL number and fill it in for these twelve dealers."

Honor removals

"These five people asked to stop hearing from us. Add them to the suppression list."

Tidy up

"Show me all my lists with fewer than 50 contacts and tell me which ones I haven't used."

Secure by design, not by afterthought

Many AI integrations work through third-party connectors and marketplace plugins that hold your login and pass your data through someone else’s servers. Our approach is different: your AI tool connects directly to MyEmailProgram with a key you created, scoped to exactly what you allowed, that you can revoke anytime.

Permission-scoped keys

Every key gets its own permissions, module by module: lists, contacts, broadcasts, custom fields, suppression, sending domains, and more. Grant read-only access, or exactly the actions a tool needs.

IP restrictions

Lock any key to specific IP addresses. Requests from anywhere else are rejected, even if the key itself is exposed.

Per-key rate limits

Set how many requests per minute each key can make, so an over-eager tool can never run away with your account.

Revoke anytime

Switch tools or rotate keys whenever you want. One key per tool means removing access from one never disrupts the others.

For developers

A complete email marketing API

Not using AI? The same API powers custom integrations of every kind. Sync your CRM or store, add signups from your own forms, automate list hygiene, or build internal tools. It works from any language that can make a web request, including Python, Node.js, and PHP, and it’s what our own WordPress and WooCommerce plugins use under the hood.

What the API covers

Want help connecting your AI tools?

Our team will walk you through setting up secure API keys and connecting the tools you already use.