Skip to content

Get one mailing

On this page
GET/v1/mailings/{mailing_id}get_mailing
Riskread
AuthenticationAPI key or OAuth access token
Scopesmailings:read
Idempotencynatural: repeating the call gives the same result
Dry runnot applicable
Success status200
Response typeapplication/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#

FieldTypeDescription
mailing_idstring

Query parameters#

None.

Every read also accepts fields=a,b,c to return only those top-level fields.

Response#

FieldTypeRequiredDescription
idstringyes
statusone of "draft", "scheduled", "requires_approval", "sending", "sent", "paused", "failed"yes
subjectstringyes
from_namestringyes
from_emailstringyes
uses_platform_senderbooleanyes
revisioninteger, min -9007199254740991, max 9007199254740991yes
audienceobjectyes
audience.descriptionstring or nullyes
audience.list_idsarray of string or nullyes
audience.tagstring or nullyes
scheduled_atstring (date-time) or nullyes
sent_atstring (date-time) or nullyes
created_atstring (date-time)yes
updated_atstring (date-time)yes
total_recipientsinteger, min -9007199254740991, max 9007199254740991yesReaders 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_reasonsarray of objectyes
hold_reasons[].codestringyes
hold_reasons[].messagestringyes
dashboard_urlstringyesWhere the author opens the mailing. Use the value from the response: the host belongs to the environment you are calling.
editablebooleanyes
htmlstringnoOnly with fields=html

Examples#

draft#

Request:

curl 'https://api.seemly.com/v1/mailings/cmp_2c4e6g8j0m2p4r6t8w0y2a4c' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"

Response: 200:

JSON
{
  "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.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.