Mailriser is in open beta. Learn more.

Mailriser Documentation

Tags API
Learn about the Tags API and how to use it.

The Tags API is the api you can use to fetch your tags.

The Tags API uses /api/tags as the base.

Fetch all Tags

To fetch all your tags, use the /fetch endpoint. It doesn't require any data.

Here's an example request in Node:

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

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

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