Capability Sources
List or search Outlook mail as the calling member
Changed onReads 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 URLhttps://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.
Microsoft365 Mail Messages Response required
nextPageToken, string nullable required
hasMore, boolean required
ok, true required
messages, Microsoft365 Mail Message Summary[] required
Changes
- info
added the new optional
queryrequest parameterpageToken - info
added the non-success response with the status
- info
added the required property
hasMoreto the response with the status
1 more change in this revision
- info