Postmark Account-level API
postmarkapp · Communication
Postmark makes sending and receiving email incredibly easy. The Account-level API allows users to configure all Servers, Domains, and Sender Signatures associated with an Account.
Authentication
Sample Requests
List Domains
Hover any highlighted part to learn what it does
| X-Postmark-Account-Token | example |
curl -X GET "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/domains?count=10&offset=0" \ -H "X-Postmark-Account-Token: example"
import requests
params = {
"count": "10",
"offset": "0"
}
headers = {
"X-Postmark-Account-Token": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/domains",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/domains');
url.searchParams.set('count', '10');
url.searchParams.set('offset', '0');
const response = await fetch(url, {
headers: {
'X-Postmark-Account-Token': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/domains")
q := baseURL.Query()
q.Set("count", "10")
q.Set("offset", "0")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("X-Postmark-Account-Token", "example")
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/postmarkapp.com/account/0.9.0/domains")
uri.query = URI.encode_www_form({
"count" => "10",
"offset" => "0"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["X-Postmark-Account-Token"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/domains?" . http_build_query([
"count" => "10",
"offset" => "0"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"X-Postmark-Account-Token: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List Sender Signatures
Hover any highlighted part to learn what it does
| X-Postmark-Account-Token | example |
curl -X GET "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/senders?count=10&offset=0" \ -H "X-Postmark-Account-Token: example"
import requests
params = {
"count": "10",
"offset": "0"
}
headers = {
"X-Postmark-Account-Token": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/senders",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/senders');
url.searchParams.set('count', '10');
url.searchParams.set('offset', '0');
const response = await fetch(url, {
headers: {
'X-Postmark-Account-Token': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/senders")
q := baseURL.Query()
q.Set("count", "10")
q.Set("offset", "0")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("X-Postmark-Account-Token", "example")
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/postmarkapp.com/account/0.9.0/senders")
uri.query = URI.encode_www_form({
"count" => "10",
"offset" => "0"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["X-Postmark-Account-Token"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/senders?" . http_build_query([
"count" => "10",
"offset" => "0"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"X-Postmark-Account-Token: example"
]),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));List servers
Hover any highlighted part to learn what it does
| X-Postmark-Account-Token | example |
curl -X GET "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/servers?name=test&count=10&offset=0" \ -H "X-Postmark-Account-Token: example"
import requests
params = {
"name": "test",
"count": "10",
"offset": "0"
}
headers = {
"X-Postmark-Account-Token": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/servers",
params=params,
headers=headers,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/servers');
url.searchParams.set('name', 'test');
url.searchParams.set('count', '10');
url.searchParams.set('offset', '0');
const response = await fetch(url, {
headers: {
'X-Postmark-Account-Token': 'example'
},
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/servers")
q := baseURL.Query()
q.Set("name", "test")
q.Set("count", "10")
q.Set("offset", "0")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
req.Header.Set("X-Postmark-Account-Token", "example")
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/postmarkapp.com/account/0.9.0/servers")
uri.query = URI.encode_www_form({
"name" => "test",
"count" => "10",
"offset" => "0"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
req["X-Postmark-Account-Token"] = "example"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/postmarkapp.com/account/0.9.0/servers?" . http_build_query([
"name" => "test",
"count" => "10",
"offset" => "0"
]);
$opts = ["http" => [
"method" => "GET",
"header" => implode("\r\n", [
"X-Postmark-Account-Token: example"
]),
]];
$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 Postmark Account-level API?
Postmark Account-level API 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. Postmark Account-level API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide