API

API security

How keys, scopes, and rate limits work.

Keys are stored as a hash. VeloSend cannot show a key again after it is created.

Rules

  • Scopes limit what a key can do. A read-only key cannot create contacts or send campaigns.
  • A key with messages:send can email one person from a template and save that person on a list in the same project.
  • Revoke a key in Settings, API keys if it leaks. Revoked keys fail immediately with HTTP 401.
  • The account owner and admins get an email whenever a key is created or revoked, with the key's name and first characters. The key itself is never emailed.
  • While a VeloSend account is suspended, every key returns HTTP 403 with the code account_suspended. Keys work again when the account is reactivated.
  • Call the API from the brand's backend. Do not put the key in browser JavaScript.

Rate limits

Each key can make a set number of requests per minute. The number comes from the project's plan:

PlanRequests per minute, per key
Free60
Starter120
Growth300

Extra requests in the same minute return HTTP 429 with a Retry-After header. Each key has its own count. Plan & usage shows the number for your project.