Permissions
What each API key permission allows, where to turn it on, and which endpoints need it.
Every endpoint needs one permission (a scope such as emails:send), shown at the top of its page. When you create a key under Transactional → API keys, each area has three choices: No access, Read access (the area's :read permission) and Full access (all of the area's permissions). A request with a key that lacks the permission is refused with 403 insufficient_scope.
Give each key only what its job needs: a server that only sends receipts needs Transactional email → Full access (
emails:send and emails:read) and nothing else.| Permission | On the API key screen | Allows | Endpoints |
|---|---|---|---|
profiles:read | Profiles → Read access | Read profiles. | List profilesGet a profile |
profiles:write | Profiles → Full access | Create, update and delete profiles. | Create or update a profileUpdate a profileDelete a profile |
events:read | Events → Read access | Read events, and a profile's events. | List a profile's eventsList events |
events:write | Events → Full access | Record events (one, or up to 1,000 at once). | Record an eventRecord up to 1,000 events |
events:import | Import past events → Full access | Import past events (stored as history: they never start flows). | Import up to 1,000 past events |
lists:read | Lists → Read access | Read lists and their members. | List listsGet a listList a list's members |
lists:write | Lists → Full access | Create, rename and delete lists; add and remove members. | Create a listRename a listDelete a listAdd profiles to a listRemove profiles from a list |
segments:read | Segments → Read access | Read segments and their members. | List segmentsGet a segmentList a segment's members |
catalog:read | Catalog → Read access | Read products. | List productsGet a product with its variants |
catalog:write | Catalog → Full access | Create, update and delete products. | Create or update productsDelete a product |
orders:read | Orders → Read access | Read orders. | List ordersGet an order with its line items |
orders:write | Orders → Full access | Create and update orders. | Create or update orders |
campaigns:read | Campaigns → Read access | Read campaigns and their numbers. | Get a campaignList campaigns |
campaigns:write | Campaigns → Full access | Create, update, send, cancel and delete marketing campaigns. | Create a campaignUpdate a draft campaignSend a campaignCancel a campaignDelete a draft campaign |
metrics:read | Metrics → Read access | Read the metrics (kinds of activity) of the account. | List metricsGet a metric |
emails:read | Transactional email → Read access | Read the transactional emails you sent. | Get an emailList sent emails |
emails:send | Transactional email → Full access | Send, reschedule and cancel transactional email. | Send an emailSend up to 100 emailsReschedule an emailCancel a scheduled email |
templates:read | Templates → Read access | Read the transactional templates. | List templatesGet a template |