Capability Sources

List or search Outlook mail as the calling member

Changed on

Reads recent Outlook messages from the calling member's connected Microsoft 365 account. This capability is delegated and read-only. Pass nextPageToken as pageToken for the next page; hasMore with a null token means the list is partial.

get/v1/capabilities/microsoft-365/mail-messages

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

pageToken, string

nextPageToken from the previous page of the same list

search, string

Optional Outlook message search text.

maxResults, integer

Maximum messages to return, capped at 25.

Response

Outlook messages returned.

Microsoft365MailMessagesResponse required
nextPageToken, string nullable required
hasMore, boolean required
ok, true required
messages, Microsoft365MailMessageSummary[] required

Changes

    • info

      added the new optional query request parameter pageToken

    • info

      added the non-success response with the status

    • info

      added the required property hasMore to the response with the status

    1 more change in this revision