Home
Getting Started

Authentication

How to authenticate with the Nitrosend API

All API requests require authentication via an API key.

API Keys

Generate an API key from Brand > API Keys in the dashboard. Keys are prefixed with nskey_live_ for production and nskey_test_ for test mode.

Info

All plans, including free plans, have full access to Nitrosend MCP/API/CLI. You can create API keys on the Free plan; plan limits apply to usage volume and paid add-ons. The Free plan includes 8,000 free emails up front, then 500 free emails every month.

Using your key

Pass your API key in the Authorization header:

Authorization: Bearer <your-nitrosend-api-key>

Example

curl https://api.nitrosend.com/v1/my/account \
  -H "Authorization: Bearer nskey_live_..."
Warning

Keep your secret keys (nskey_live_…) secret. Never expose them in client-side code or commit them to version control.

Public keys for website forms

There is a second, restricted key type prefixed wpkey_live_…. Unlike a secret key, a public key can only create contacts and add them to your lists, so it is safe to embed directly in website source. Use it to collect signups from your site with no server and no exposed secret.

See Website Signup Forms for the full setup.