Skip to main content

Base URL

All API requests are made to:

Authentication

Include your API key in the Authorization header with a Bearer prefix:
Get your API key from the MailBreeze Dashboard.

Request Format

All requests should include: Request bodies must be valid JSON:

Response Format

All responses are JSON wrapped in a standard envelope:

Successful Response

Single resource:
Send email response:

List Response

Paginated lists include a pagination object within data:

Error Response

Errors also follow the envelope pattern:
SDKs automatically extract the data field, so you access response data directly without the wrapper.

HTTP Methods

Pagination

List endpoints support pagination: Example:

Timestamps

All timestamps are ISO 8601 format in UTC:

IDs

Resources use prefixed IDs for easy identification:

Test Mode

Use test API keys (sk_test_*) to simulate requests without sending real emails or using credits:

SDKs

Official SDKs are available for popular languages:

JavaScript

npm install mailbreeze

Python

pip install mailbreeze

Go

go get github.com/MailBreeze/mailbreeze-go

PHP

composer require mailbreeze/mailbreeze-php

Rust

cargo add mailbreeze