Get one mailing
On this page
GET
/v1/mailings/{mailing_id}get_mailing| Risk | read |
| Authentication | API key or OAuth access token |
| Scopes | mailings:read |
| Idempotency | natural: repeating the call gives the same result |
| Dry run | not applicable |
| Success status | 200 |
| Response type | application/json |
What it does#
- Use when: You have a mailing id and need its status, revision (ETag), audience, schedule or hold reasons; add fields=html for the stored HTML.
- Do not use when: you need a preview with problems (call render_mailing).
- Side effects: None.
- Reversible: Not applicable, nothing changes.
- Required scope: mailings:read.
- Idempotency: safe to repeat.
- Typical next step: call update_mailing_draft with If-Match set to the ETag.
Scopes#
mailings:read: Read mailings and preview what a send would do.
Request#
Path parameters#
| Field | Type | Description |
|---|---|---|
mailing_id | string |
Query parameters#
None.
Every read also accepts fields=a,b,c to return only those top-level fields.
Response#
| Field | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
status | one of "draft", "scheduled", "requires_approval", "sending", "sent", "paused", "failed" | yes | |
subject | string | yes | |
from_name | string | yes | |
from_email | string | yes | |
uses_platform_sender | boolean | yes | |
revision | integer, min -9007199254740991, max 9007199254740991 | yes | |
audience | object | yes | |
audience.description | string or null | yes | |
audience.list_ids | array of string or null | yes | |
audience.tag | string or null | yes | |
scheduled_at | string (date-time) or null | yes | |
sent_at | string (date-time) or null | yes | |
created_at | string (date-time) | yes | |
updated_at | string (date-time) | yes | |
total_recipients | integer, min -9007199254740991, max 9007199254740991 | yes | Readers the send was planned for. It is 0 on a draft because the audience is only counted when the send is planned. Call preview_send for the recipient count of a draft. |
hold_reasons | array of object | yes | |
hold_reasons[].code | string | yes | |
hold_reasons[].message | string | yes | |
dashboard_url | string | yes | Where the author opens the mailing. Use the value from the response: the host belongs to the environment you are calling. |
editable | boolean | yes | |
html | string | no | Only with fields=html |
Examples#
draft#
Request:
curl 'https://api.seemly.com/v1/mailings/cmp_2c4e6g8j0m2p4r6t8w0y2a4c' \
-H "Authorization: Bearer $SEEMLY_API_KEY"const response = await fetch("https://api.seemly.com/v1/mailings/cmp_2c4e6g8j0m2p4r6t8w0y2a4c", {
headers: {
"Authorization": `Bearer ${process.env.SEEMLY_API_KEY}`,
},
});
const result = await response.json();
console.log(response.status, result);import os
import requests
response = requests.get(
"https://api.seemly.com/v1/mailings/cmp_2c4e6g8j0m2p4r6t8w0y2a4c",
headers={
"Authorization": f"Bearer {os.environ['SEEMLY_API_KEY']}",
},
)
print(response.status_code, response.json())Response: 200:
{
"id": "cmp_2c4e6g8j0m2p4r6t8w0y2a4c",
"status": "draft",
"subject": "New chapter is up",
"from_name": "Hollow Oak Books",
"from_email": "[email protected]",
"uses_platform_sender": true,
"revision": 1,
"audience": {
"description": null,
"list_ids": null,
"tag": null
},
"scheduled_at": null,
"sent_at": null,
"created_at": "2026-12-02T09:30:00Z",
"updated_at": "2026-12-02T09:30:00Z",
"total_recipients": 0,
"hold_reasons": [],
"dashboard_url": "https://app.seemly.com/dashboard/campaigns/cmp_2c4e6g8j0m2p4r6t8w0y2a4c",
"editable": true
}Errors#
Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.