{ "opencollection": "1.0.0", "info": { "name": "Microsoft Outlook Microsoft Graph Mail Attachments Messages API", "version": "1.0.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": "Messages", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Outlook List Messages", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages", "params": [ { "name": "$top", "value": "", "type": "query", "description": "Sets the page size of results." }, { "name": "$skip", "value": "", "type": "query", "description": "Number of items to skip for pagination." }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include in the response." }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression to filter results." }, { "name": "$orderby", "value": "", "type": "query", "description": "Comma-separated list of properties to sort results by." }, { "name": "$count", "value": "", "type": "query", "description": "Include count of the matching resources." }, { "name": "$search", "value": "", "type": "query", "description": "Search string to filter results." } ] }, "docs": "Get all the messages in the signed-in user's mailbox including the Deleted Items and Clutter folders. Supports OData query parameters including $filter, $select, $top, $skip, $orderby, and $count." }, { "info": { "name": "Microsoft Outlook Create Draft Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages", "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft of a new message in the signed-in user's mailbox. The message is saved in the Drafts folder. You can then update or send the draft." }, { "info": { "name": "Microsoft Outlook Get Message", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include in the response." } ] }, "docs": "Read the properties and relationships of a message object. Supports $select and $expand query parameters. Use $select=internetMessageHeaders to get custom internet message headers." }, { "info": { "name": "Microsoft Outlook Update Message", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the properties of a message object. Only draft messages can have their toRecipients, ccRecipients, bccRecipients, subject, body, and other content properties updated. Sent messages can have isRead and categories updated." }, { "info": { "name": "Microsoft Outlook Delete Message", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ] }, "docs": "Delete a message in the specified user's mailbox. The message is moved to the Deleted Items folder." }, { "info": { "name": "Microsoft Outlook Send Draft Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/send", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ] }, "docs": "Send a previously created message draft. The message is then saved in the Sent Items folder." }, { "info": { "name": "Microsoft Outlook Copy Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/copy", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Copy a message to a folder within the user's mailbox." }, { "info": { "name": "Microsoft Outlook Move Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/move", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Move a message to a different folder within the user's mailbox. This creates a new copy of the message in the destination folder and removes the original message." }, { "info": { "name": "Microsoft Outlook Reply to Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/reply", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Reply to the sender of a message using either JSON or MIME format. The message is then saved in the Sent Items folder." }, { "info": { "name": "Microsoft Outlook Reply All to Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/replyAll", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Reply to all recipients of a message. The message is then saved in the Sent Items folder." }, { "info": { "name": "Microsoft Outlook Forward Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/forward", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Forward a message. The message is then saved in the Sent Items folder." }, { "info": { "name": "Microsoft Outlook Create Draft to Forward Message", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/createForward", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft of the forward message. You can then update or send the draft." }, { "info": { "name": "Microsoft Outlook Create Draft to Reply", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/createReply", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft of the reply message. You can then update or send the draft." }, { "info": { "name": "Microsoft Outlook Create Draft to Reply All", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/createReplyAll", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of the message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft of the reply-all message. You can then update or send the draft." }, { "info": { "name": "Microsoft Outlook Send Mail", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/sendMail", "body": { "type": "json", "data": "{}" } }, "docs": "Send the message specified in the request body using either JSON or MIME format. The message is saved in the Sent Items folder by default." }, { "info": { "name": "Microsoft Outlook List Messages in Folder", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/:mailFolder-id/messages", "params": [ { "name": "mailFolder-id", "value": "", "type": "path", "description": "The unique identifier of the mail folder, or a well-known folder name such as inbox, drafts, sentitems, deleteditems, archive, junkemail, or outbox." }, { "name": "$top", "value": "", "type": "query", "description": "Sets the page size of results." }, { "name": "$skip", "value": "", "type": "query", "description": "Number of items to skip for pagination." }, { "name": "$select", "value": "", "type": "query", "description": "Comma-separated list of properties to include in the response." }, { "name": "$filter", "value": "", "type": "query", "description": "OData filter expression to filter results." }, { "name": "$orderby", "value": "", "type": "query", "description": "Comma-separated list of properties to sort results by." } ] }, "docs": "Get all the messages in the specified mail folder." }, { "info": { "name": "Microsoft Outlook Create Message in Folder", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/mailFolders/:mailFolder-id/messages", "params": [ { "name": "mailFolder-id", "value": "", "type": "path", "description": "The unique identifier of the mail folder, or a well-known folder name such as inbox, drafts, sentitems, deleteditems, archive, junkemail, or outbox." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new message draft in the specified mail folder." } ] } ], "bundled": true }