mailvina
DocsAPI keys ▾

Guides

API keys

Create keys in the dashboard or with POST /api-keys. Tokens are shown only once; we store a SHA-256 hash.

curl -X POST 'https://api.mailvina.com/api-keys' \
  -H 'Authorization: Bearer mv_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "Production",
  "permission": "sending_access",
  "domain_id": "optional-domain-id"
}'

To rotate a key, create a new one, deploy it, then revoke the old key with DELETE /api-keys/:id.