Get started
The BoostMail /v1 API lets you manage subscribers, segments, campaigns, and transactional email over HTTPS. Every request targets the versioned base URL https://api.boostmail.app/v1. This page takes you from a fresh account to your first successful call.
Mint a key and make a call
Section titled “Mint a key and make a call”-
Mint an API key. In the BoostMail dashboard, go to Account -> API Keys -> Create key. Name the key and pick its scopes. For this quickstart, include
subscribers:read, the scopeGET /v1/subscribersrequires. Copy the secret when it appears: BoostMail shows it once, at creation, and cannot display it again. See the Authentication guide for the full key format and scope list. -
Set the key as an environment variable. Store it as
BOOSTMAIL_API_KEYso you never paste it directly into a command or commit it to source control.Terminal window export BOOSTMAIL_API_KEY="bm_live_..." -
Make your first authenticated call.
GET /v1/subscriberswith a bearer token is the simplest read in the API:Terminal window curl https://api.boostmail.app/v1/subscribers \-H "Authorization: Bearer $BOOSTMAIL_API_KEY"A successful call returns a paginated envelope:
{"data": [...],"next_cursor": null}If you get
403 insufficient_scopeinstead, the key you minted does not includesubscribers:read. Mint a new key with that scope, or see the Authentication guide for how scopes work.
Next steps
Section titled “Next steps”- Read the Guides for the contract every endpoint shares: authentication, rate limits, errors, pagination, versioning, sending, and suppression.
- Follow the Send a transactional email tutorial for a complete, end-to-end example.