Mailriser is in open beta. Learn more.

Mailriser Documentation

Documentation/Mailriser API/Mailriser API Overview
Mailriser API Overview
Learn about the basics of the Mailriser API.

The Mailriser API is a powerful way to interact with Mailriser from your own application.

It is a RESTful API that uses JSON for serialization and a key for authorization. The API is currently in beta and is subject to change so we welcome your feedback and suggestions.

To get started, go to your settings and click on the API tab. You will see your API key.

To make a request, simply pass your API key in the Authorization header.

Node

Here's an example of making a request using the fetch API in Node.

const key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";

const base = "https://mailriser.com/api";
const endpoint = "/";

const data = {};

const request = await fetch(base + endpoint, {
    method: "POST",
    headers: {
        Authorization: key,
        "Content-Type": "application/json"
    },
    body: JSON.stringify(data)
});

const response = await request.json();

console.log(response);

For example, if you want to get all the lists in your account, this is how that looks like:

const key = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";

const base = "https://mailriser.com/api";
const endpoint = "/lists";

const data = {};

const request = await fetch(base + endpoint, {
    method: "POST",
    headers: {
        Authorization: key,
        "Content-Type": "application/json"
    },
    body: JSON.stringify(data)
});

const response = await request.json();

console.log(response);
Table of Contents