Skip to content

Authentication

Sendivent authenticates requests using API keys. Keep keys server-side and treat them like passwords.

How to Authenticate

Send your API key in the Authorization header:

bash
curl -X POST https://api.sendivent.com/v1/send/welcome \
  -H "Authorization: Bearer live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "to": "user@example.com" }'

Use api-sandbox.sendivent.com with test_* keys for development. See Sandbox vs Production.

Key Storage

  • Never commit keys to git
  • Use environment variables or a secrets manager
  • Rotate keys periodically

Where to Find Your Key

See Quickstart.

See Also

Released under the MIT License.