Headers

Required headers

Along with the OhMySMTP-Server-Token header documented here: Authentication Headers, you must include two other headers:

Header NameContents
Acceptapplication/jsonRequired
Content-Typeapplication/jsonRequired

These ensure that your request is sent as a JSON request and our API returns any messages or statuses in JSON format.