Introduction

Discover the basic concepts of Mailhub

URL

The Mailhub API is based on REST principles. HTTPS is enforced for every request to enhance data security, integrity, and privacy. The API does not support HTTP.

All requests use the following base URL:

https://api.mailhub.sh

Authentication

To authenticate, you need to include an Authorization header with the value Bearer mh_xxxxxxxxxx, where mh_xxxxxxxxxx is your API Key.

Mailhub offers two types of authentication keys:

  1. Production keys: These keys send emails as requested.

  2. Development keys: When using a development key, HTTP requests will behave the same as in production, but the emails will not be sent to the recipients. Instead, they will only be available in your inbox.

Authorization: Bearer mh_123456789

Last updated