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.
Create a key
- Open Settings > API keys. Only owners and admins can create keys.
- Under Create a key, give it a Name after the system that will use it, for example “Website signup form”.
- Under What it may do, choose one of the four options described below.
- Press Create key. Copy the key now: it is shown once and cannot be shown again.
- 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
| Area | For example |
|---|---|
| Contacts | Add people with their consent, update them, list them, delete them. |
| Events | Record what people did: product views, carts, checkouts, orders, your own events. |
| Orders and products | Keep orders (for segments and revenue) and your catalogue. |
| Webhook endpoints | Tell Sendsational where to report unsubscribes and bounces. |
| Emails | Send one email, such as a receipt or a password reset, and check its status. |
| Discount codes | Add 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.