Skip to content

API keys

There are two kinds of keys, both created in the dashboard under API keys, and both sent as a bearer token:

Authorization: Bearer vr_…
Relay key Management key
Starts with vr_ vm_
Used with relay.velumrelay.email api.velumrelay.email
Can Send email from your templates, as the From addresses you chose for the key Create, change, preview and delete your templates and layouts
Can’t Change templates, see message history Send email, manage keys, see message history

Keys are 52 characters long and include a checksum, so a mistyped key is rejected right away.

  • A key is shown once, when you create it. velumRelay only stores a fingerprint of it, so it can’t show it again or recover it. If you lose a key, revoke it and create a new one.
  • Keep keys in your app’s secret store or environment variables, never in front-end code or a repository.
  • Use one key per app and environment (production, staging), so you can revoke one without touching the others.

Each relay key lists the From addresses it may send as, chosen from the addresses and domains approved for your account. Sending from anything else is refused with 403. You can change a relay key’s addresses at any time without changing the key itself.

Revoking a key in the dashboard takes effect within seconds. Requests with a revoked key get 401.