Skip to main content
When creating an API key, you assign a permission level that controls which API endpoints the key can access: Full Access or Sending Only. Each level is a preset of scopes, which the API’s endpoints check.

Permission Levels

Full Access

Full Access keys provide complete access to all API endpoints and operations:
  • Send emails via API
  • List and retrieve sent email details
  • Access and manage email templates
  • Create, verify, and delete sending domains
  • Configure and manage webhooks
  • List projects
  • Manage contacts, lists, topics, properties, and segments
  • Create, send, schedule, and report on campaigns
Use Full Access keys for:
  • Backend services that need complete platform control
  • Administrative tools and dashboards
  • CI/CD pipelines that manage domains and templates
  • Internal tools requiring access to all resources

Sending Only

Sending Only keys are restricted to email sending operations only. Requests to any other endpoint will be rejected with a 403 Forbidden response:
Use Sending Only keys for:
  • Production applications that only send transactional emails
  • Third-party integrations that don’t need administrative access
  • Services where you want to limit the blast radius of a potential key compromise

Scopes

API endpoints are guarded by scopes, and a key holds the scopes in its permission level’s preset. There is no way to create a key with an individual selection of scopes; every key is Full Access or Sending Only.
The Full Access preset includes all 18 scopes. The Sending Only preset includes emails:send, sms:send, and whatsapp:send.
A request to an endpoint whose scope the key doesn’t hold is rejected with 403 and error_code: insufficient_scope. The same scopes decide which tools a key sees on the MCP server.

Creating Keys with Specific Permissions

Via the Dashboard

  1. Navigate to API Keys
  2. Click Create API Key
  3. Enter a descriptive name
  4. Select the permission level:
    • Full Access — Complete access to all endpoints
    • Sending Only — Restricted to email, SMS, and WhatsApp sending
  5. For a Sending Only key, optionally pick the Allowed Domains it may send from
  6. Configure optional IP restrictions
  7. Click Create

Allowed Sending Domains

A Sending Only key can be limited to some of your verified sending domains. Pick them in the Allowed Domains field when you create or edit the key, or leave it blank to allow every domain. The field isn’t offered for Full Access keys. A send from any other domain is rejected with 403:

IP Restrictions

In addition to permission levels, you can further secure your API keys by restricting them to specific IP addresses. This provides defense in depth — even if a key is compromised, it cannot be used from unauthorized locations.

Configuring IP Restrictions

When creating or editing an API key, you can specify allowed IP addresses in the Allowed IPs field:

Supported Formats

CIDR Notation Reference

If no IP restrictions are configured, the API key can be used from any IP address. We recommend configuring IP restrictions for production keys.

IP Restriction Errors

When a request is made from a non-whitelisted IP:
HTTP Status: 403 Forbidden

Updating Key Permissions

You can change the permission level of an existing API key at any time:
  1. Navigate to API Keys
  2. Click the actions menu (three dots) next to the key
  3. Select Edit
  4. Update the permission level
  5. Click Save
Permission changes take effect immediately. If you downgrade a key from Full Access to Sending Only, any non-sending API requests using that key will be rejected right away.

Security Recommendations

Use different API keys for development, staging, and production environments. This allows you to revoke keys independently and track usage per environment.
For maximum security, restrict production API keys to your server’s IP addresses or IP ranges. This adds a layer of protection even if a key is compromised.
Review which keys are being used and their access patterns. Revoke any keys that are no longer needed or show suspicious activity.
Use descriptive names that clearly indicate each key’s purpose, environment, and owner. This makes it easier to manage keys over time.

Managing Multiple Keys

For larger organizations or complex deployments, consider creating separate keys for: This approach provides:
  • Isolation: Compromise of one key doesn’t affect others
  • Traceability: Clear audit trail of which system performed which action
  • Flexibility: Independent rotation and revocation schedules

Next Steps

API Keys Introduction

Learn how to create and manage API keys

Sending Emails

Start sending emails with your API key