InboxesDrafts

List Drafts

CLI:

agentmail inboxes:drafts list --inbox-id <inbox_id>
get/v0/inboxes/{inbox_id}/drafts

Path parameters

inbox_idstring required

The ID of the inbox.

Query parameters

limitinteger

Limit of number of items returned.

page_tokenstring

Page token for pagination.

labelsstring[]

Labels to filter by.

beforestring date-time

Timestamp before which to filter by.

afterstring date-time

Timestamp after which to filter by.

ascendingboolean

Sort in ascending temporal order.

Response

countinteger required

Number of items returned.

limitinteger

Limit of number of items returned.

next_page_tokenstring

Page token for pagination.

Changes

Changed in 5 of the 34 revisions of this API.217

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

  • 27965096e61811See the full diff
    • ▲

      removed the required property // from the response with the status

      response-required-property-removed

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 8a5b5e92ae2d11See the full diff
    • ●

      removed the optional property // from the response with the status

      response-optional-property-removed

    • ○

      added the required property // to the response with the status

      response-required-property-added

    This revision also has 28 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ○

      added the optional property // to the response with the status

      response-optional-property-added

    • ▲

      removed the required property // from the response with the status

      response-required-property-removed