Mailrelay API Reference

Mailrelay API Documentation

Introduction

Our API allows you to access several features of our application. It can be used to develop an integration, extend one of our features or obtain your account data.

Since it's a REST API, HTTP methods and status codes are important. Make sure that you always check the returned HTTP code in order to check if your request worked.

Authentication

The API key should be a sent as an HTTP header called X-AUTH-TOKEN. Here is an example using CURL:

curl -X GET --header 'X-AUTH-TOKEN: [YOUR-API-KEY]' 'https://[YOUR-ACCOUNT]/api/v1/groups'

Please, note that your should replace [YOUR-API-KEY] and [YOUR-ACCOUNT] in the example.