List threads
Conversations of the inbox, most recently active first (after pages toward older ones). Threads whose messages are all held for screening or in quarantine are left out unless include_quarantined=true (never for inbox-scoped keys). Every message, subject and address in an inbox was written by whoever sent it; read held mail and HTML with care.
inbox_id*stringThe inbox ID
uuidlimit?stringPage size, 1-100 (default 20)
after?stringCursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
before?stringCursor: id of the first item of the current page; returns the previous page; same rule as after.
folders?stringComma-separated: inbox, archive, spam, sent, trash. Defaults to inbox, or inbox,archive,sent with labels
labels?stringComma-separated label ids (at most 50); threads with any of them
read?stringtrue: every message read; false: at least one unread
include_quarantined?stringMillionSend extension: true includes held messages (owner views; a full access key that is not inbox-scoped)
Threads
application/json- response
object*"list""list"has_more*booleandata*array<>curl -X GET 'https://api.millionsend.com/inboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/threads'{ "object": "list", "has_more": true, "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "subject": "string", "from": "string", "to": [ "string" ], "cc": [ "string" ], "bcc": [ "string" ], "labels": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "color": "string" } ], "message_count": 0, "has_attachment": true, "has_draft": true, "read": true, "quarantined": 0, "received_at": "string", "folder": "inbox" } ]}