Mailly文档

List sent messages

GET
/sent-messages

Scoped to the workspace; supports enum filters for source/status/deliveryStatus, exact or fuzzy matching (per match) for recipient/sender/subject, q fuzzy search across fields (bodies excluded), and since/until to limit the send time.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Mailly API key(Authorization: Bearer )

Query Parameters

limit?string

Default 50, max 200

offset?string
source?string

Source: api, web, campaign, workflow, template_test, inbox_reply

status?string

Transport status: reserved, queued, sending, sent, skipped, failed

deliveryStatus?string

Delivery status: accepted, queued, sent, delivered, deferred, soft_bounced, hard_bounced, complained, unsubscribed, link_clicked

recipient?string

Recipient email; see match for the matching mode

sender?string

Sender email; see match for the matching mode

subject?string

Subject; see match for the matching mode

match?string

Matching mode for recipient/sender/subject: exact (default, case-insensitive full match) or fuzzy (contains)

since?string

Sent-at lower bound (inclusive): Unix seconds or ISO 8601; a date alone means UTC midnight

until?string

Sent-at upper bound (exclusive): Unix seconds or ISO 8601; a date alone means UTC midnight

campaignKey?string
taskId?string
providerMessageId?string
q?string

Fuzzy search across recipient, sender, subject, and message_id

Response Body

Message list

application/json
  1. response
success*boolean
messages*array<>
total*number
limit*number
offset*number
hasMore*boolean
[key: string]?unknown
curl -X GET 'https://api.mailly.site/sent-messages'
{  "success": true,  "messages": [    {      "property1": null,      "property2": null    }  ],  "total": 0,  "limit": 0,  "offset": 0,  "hasMore": true,  "property1": null,  "property2": null}