Skip to content

Show a send request and its state

On this page
GET/v1/send-requests/{send_request_id}get_send_request
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 asked to send a mailing and want to know whether the author approved, declined, or whether it executed, expired or was superseded by an edit.
  • Do not use when: you want the mailing itself (call get_mailing).
  • Side effects: None.
  • Reversible: Not applicable, nothing changes.
  • Required scope: mailings:read.
  • Idempotency: safe to repeat.
  • Typical next step: call get_mailing for delivery status, or request_send again after an edit.

Scopes#

  • mailings:read: Read mailings and preview what a send would do.

Request#

Path parameters#

FieldTypeDescription
send_request_idstring

Query parameters#

None.

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

Response#

FieldTypeRequiredDescription
idstringyessrq_...
mailing_idstringyes
stateone of "awaiting_approval", "approved", "executed", "refused", "declined", "canceled", "superseded", "expired"yes
modeone of "now", "scheduled"yes
scheduled_atstring or nullyes
recipient_countinteger, min -9007199254740991, max 9007199254740991yes
mailing_revisioninteger, min -9007199254740991, max 9007199254740991yesThe mailing revision this request is bound to. An edit supersedes the request.
requested_bystringyesThe key or app name the author sees.
reason_codesarray of stringyes
created_atstringyesRFC 3339 UTC timestamp.
expires_atstringyesAn undecided request expires after 7 days.
decided_atstring or nullyes
executed_atstring or nullyes
previewobject or nullyes

Examples#

executed#

Request:

curl 'https://api.seemly.com/v1/send-requests/srq_7h2m9k4t8w3c5n6p1q0r2s4v' \
  -H "Authorization: Bearer $SEEMLY_API_KEY"

Response: 200:

JSON
{
  "id": "srq_7h2m9k4t8w3c5n6p1q0r2s4v",
  "mailing_id": "cmp_4d8x2p0q7r4d8x2p0q7r4d8x",
  "state": "executed",
  "mode": "now",
  "scheduled_at": null,
  "recipient_count": 212,
  "mailing_revision": 3,
  "requested_by": "Launch agent",
  "reason_codes": [],
  "created_at": "2026-12-02T09:31:00Z",
  "expires_at": "2026-12-09T09:31:00Z",
  "decided_at": "2026-12-02T09:40:00Z",
  "executed_at": "2026-12-02T09:40:01Z",
  "preview": {
    "decision": "allow",
    "reasons": [],
    "tranche_sizes": [],
    "recipient_count": 212
  }
}

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.