API Reference

An overview of Email Application API

Sasta Mail API employs simple Token Authentication which is also referred to as Bearer Authentication. That is, every Sasta Mail user account has an authentication token. The token must be sent in either the Authorization HTTP header or in the query string URL when making requests to protected resources:

Authorization: Bearer <token>

Or as a query string parameter in the request URL

https://app.sastamail.com/api/v1?api_token=YOUR_API_TOKEN

Important: using an authentication token in the Bearer header is highly recommended over in a query string, and it should only be used over HTTPS (SSL).


Find your API Token

You will need to first login to your Sasta Mail account to find the API TOKEN which is available in the My Profile > API & Authentication dashboard