Help

Connect your shop or site with an API key

An API key lets one of your systems (your shop, a signup form on your site, a script) talk to your workspace: create and update contacts and their consent, record orders and events, and send single emails such as receipts. Each key belongs to one workspace, does only what you allow, and is shown once, when you create it. The technical details are in the API reference.

Last updated

Create a key

  1. Open Settings > API keys. Only owners and admins can create keys.
  2. Under Create a key, give it a Name after the system that will use it, for example “Website signup form”.
  3. Under What it may do, choose one of the four options described below.
  4. Press Create key. Copy the key now: it is shown once and cannot be shown again.
  5. Paste it into the other system’s settings.

The four options:

  • Everything: for a connector that keeps a shop in sync: contacts, events, orders, products and webhooks.
  • Add contacts and events: for a signup form or a site script. It cannot read your list.
  • Read only: for an export or a report. It cannot change anything.
  • Choose exactly: pick what the key may do, one area at a time. Give a key only what it needs.

Give each system its own key, so you can switch one off without breaking the others.

Revoke a key

Press Revoke, then Revoke for good. Requests that use the key are refused from then on. The list shows when each key was last used.

What a connected system can do

AreaFor example
ContactsAdd people with their consent, update them, list them, delete them.
EventsRecord what people did: product views, carts, checkouts, orders, your own events.
Orders and productsKeep orders (for segments and revenue) and your catalogue.
Webhook endpointsTell Sendsational where to report unsubscribes and bounces.
EmailsSend one email, such as a receipt or a password reset, and check its status.
Discount codesAdd codes to the pools flows hand out.

Consent sent by a connected system is treated as the person’s own choice, with the time they made it. An unsubscribe is never overridden by an older subscribe.

Questions

Is there a ready-made Shopify connection?

Not yet. A shop connects through the API today.

How many requests can a key make?

600 a minute by default. A bulk request of up to 500 contacts or events counts as one.

Do single emails sent through the API respect unsubscribes?

They are for transactional email, so they reach people who unsubscribed from marketing. They are never sent to an address that bounced, complained or was blocked.

All help topics · API reference