Authentication
All requests to the MoSend API authenticate with an API key sent in the Authorization header.
Authorization header
Include your API key as a Bearer token on every request:
Authorization: Bearer ms_live_abcdef1234567890... API keys
Generate, rotate and revoke API keys from the dashboard. Each key is shown only once at creation, so store it in a secrets manager.
curl https://api.mosend.dev/v1/domains \
-H "Authorization: Bearer ms_live_..." Keep your API keys safe. Never publish an API key in repositories, logs or client-side code. If you suspect a key has been exposed, revoke it immediately from the dashboard.