{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph API (Office 365 subset) Drive Mail API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize", "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Mail", "type": "folder" }, "items": [ { "info": { "name": "List the signed-in user's messages", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages", "params": [ { "name": "$select", "value": "", "type": "query" }, { "name": "$top", "value": "", "type": "query" }, { "name": "$filter", "value": "", "type": "query" }, { "name": "$orderby", "value": "", "type": "query" } ] }, "docs": "List the signed-in user's messages" }, { "info": { "name": "Get a message by id", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a message by id" }, { "info": { "name": "Send a mail message as the signed-in user", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/sendMail", "body": { "type": "json", "data": "{}" } }, "docs": "Send a mail message as the signed-in user" }, { "info": { "name": "List mail folders", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders" }, "docs": "List mail folders" } ] } ], "bundled": true }