threads

List recent messages in a mailbox, optionally since a cursor

get/v1/mailboxes/{mailbox_id}/messages/new

Request

  • Base URL: https://mbag.ai/api
  • URL: https://mbag.ai/api/v1/mailboxes/{mailbox_id}/messages/new
  • Auth: HTTP bearer

Path parameters

mailbox_idinteger required

Query parameters

sincestring

JMAP receivedAt-style timestamp; when given, only messages received after it are returned.

limitinteger

Capped server-side at 250.

Response

Messages, newest first.

fromstring nullable required
idstring required
previewstring nullable required
received_atstring nullable required
subjectstring nullable required
thread_idstring nullable required
tostring[] nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.