Mandrill
mandrillapp · Communication
Mandrill is a reliable, scalable, and secure delivery API for transactional emails from websites and applications. It's ideal for sending data-driven transactional emails, including targeted e-commerce and personalized one-to-one messages.
Authentication
Sample Requests
Begins an export of your activity history. The activity will be exported to a zip archive containing a single file named activity.csv in the same format as you would be able to export from your account's activity view. It includes the following fields: Date, Email Address, Sender, Subject, Status, T
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/activity.json";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns information about an export job. If the export job's state is 'complete', the returned data will include a URL you can use to fetch the results. Every export job produces a zip archive, but the format of the archive is distinct for each job type. The api calls that initiate exports include m
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/info.json";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns a list of your exports.
Hover any highlighted part to learn what it does
curl -X POST "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json"
import requests
response = requests.post(
"https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json';
const response = await fetch(url, {
method: 'POST',
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json"
req, _ := http.NewRequest("POST", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mandrillapp.com/1.0/exports/list.json";
$opts = ["http" => [
"method" => "POST",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Mandrill?
Mandrill is a Communication API. Developers commonly use communication APIs for:
- sending SMS alerts and notifications
- building in-app chat and messaging features
- automating email sequences and transactional emails
- creating voice bots and IVR systems
- verifying phone numbers at signup
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Mandrill is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide · Learn about API keys · What is REST?