The API uses HTTP Basic authentication. Each request must be supplied with the authorization header.
The value of the authorization header is constructed as follows:
- The API key is encoded using Base64
- The authorization method “Basic†and a space is then put before the encoded string.
1 |
"Authorization": "Basic" base64(API Key) |
Example
Authorization: Basic QWxhZGRpbjvcGVuIHNlc2FtZQ==
Getting an API Key
An API Key can be obtained from the Maileon user interface. Each API Key has an expiration date and distinct privileges for the HTTP methods: GET, POST, PUT and DELETE.
Maileon UI.
1.
2.