Skip to main content

API Keys

API keys authorize server-side requests to the send endpoint. You can create multiple keys — use separate keys for different environments, services, or rotation schedules. All API key endpoints require JWT authentication.

Create an API key

Creates a new API key. The full key value is only returned once at creation time — store it securely.

Request

With optional expiration:

Body parameters

Response 201

The key field is only present in the creation response. It cannot be retrieved again — store it in a secrets manager or environment variable immediately.

List API keys

Returns all API keys for your account. The full key value is not included.

Request

Response 200


Revoke an API key

Permanently revokes an API key. Any requests using the revoked key will immediately start receiving 401 Unauthorized.

Request

Response 200

Errors


Key format

API keys follow this format:
  • nmc_live_... — live key, works against the production SES environment
  • nmc_test_... — test key, for development (behavior may differ)
Use the key_prefix (e.g. nmc_live_abc1...) to identify which key is which in the dashboard without exposing the full secret.