{ "opencollection": "1.0.0", "info": { "name": "Microsoft Graph Admin Admin.admin Me.message API", "version": "1.0.0" }, "items": [ { "info": { "name": "Me.message", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Graph Get open extension", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages", "params": [ { "name": "includeHiddenMessages", "value": "", "type": "query", "description": "Include Hidden Messages" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance." }, { "info": { "name": "Microsoft Graph Create open extension", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages", "body": { "type": "json", "data": "{}" } }, "docs": "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions." }, { "info": { "name": "Microsoft Graph Get eventMessage", "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 message" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get the properties and relationships of the eventMessage object. Apply the $expand parameter on the event navigation property to get the associated event in an attendee's calendar. Currently, this operation returns event message bodies in only HTML format." }, { "info": { "name": "Microsoft Graph Update eventMessage", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the properties of an eventMessage object." }, { "info": { "name": "Microsoft Graph Delete eventMessage", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ] }, "docs": "Delete eventMessage." }, { "info": { "name": "Microsoft Graph Get open extension", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/$value", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "includeHiddenMessages", "value": "", "type": "query", "description": "Include Hidden Messages" } ] }, "docs": "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance." }, { "info": { "name": "Microsoft Graph Update eventMessage", "type": "http" }, "http": { "method": "PUT", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/$value", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ] }, "docs": "Update the properties of an eventMessage object." }, { "info": { "name": "Microsoft Graph Delete eventMessage", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/$value", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ] }, "docs": "Delete eventMessage." }, { "info": { "name": "Microsoft Graph List attachments", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Retrieve a list of attachment objects." }, { "info": { "name": "Microsoft Graph Add attachment", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachment\r\nresource." }, { "info": { "name": "Microsoft Graph Get attachment", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments/:attachment-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "attachment-id", "value": "", "type": "path", "description": "The unique identifier of attachment" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Read the properties, relationships, or raw contents of an attachment that is attached to a user event, message, or group post. An attachment can be one of the following types: All these types of attachments are derived from the attachment resource." }, { "info": { "name": "Microsoft Graph Delete navigation property attachments for me", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments/:attachment-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "attachment-id", "value": "", "type": "path", "description": "The unique identifier of attachment" } ] }, "docs": "Microsoft Graph Delete navigation property attachments for me" }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments/$count", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke action createUploadSession", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/attachments/createUploadSession", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified Outlook item. The item can be a message or event. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file that's smaller than 3 MB, do a POST operation on the attachments navigation property of the Outlook item; see how to do this for a message or for an event. As part of the response, this action returns an upload URL that you can" }, { "info": { "name": "Microsoft Graph Get open extension", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance." }, { "info": { "name": "Microsoft Graph Create open extension", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions." }, { "info": { "name": "Microsoft Graph Get open extension", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions/:extension-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "extension-id", "value": "", "type": "path", "description": "The unique identifier of extension" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance." }, { "info": { "name": "Microsoft Graph Update the navigation property extensions in me", "type": "http" }, "http": { "method": "PATCH", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions/:extension-id", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "extension-id", "value": "", "type": "path", "description": "The unique identifier of extension" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Microsoft Graph Update the navigation property extensions in me" }, { "info": { "name": "Microsoft Graph Delete open extension", "type": "http" }, "http": { "method": "DELETE", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions/:extension-id", "headers": [ { "name": "If-Match", "value": "" } ], "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "extension-id", "value": "", "type": "path", "description": "The unique identifier of extension" } ] }, "docs": "Delete an open extension (openTypeExtension object) from the specified instance of a resource. For the list of resources that support open extensions, see the table in the Permissions section." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/extensions/$count", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke action copy", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Copy a message to a folder within the user's mailbox." }, { "info": { "name": "Microsoft Graph Invoke action createForward", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft to forward an existing message, in either JSON or MIME format. When using JSON format, you can:\r\n- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error.\r\n- Update the draft later to add content to the body or change other messa" }, { "info": { "name": "Microsoft Graph Invoke action createReply", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft to reply to the sender of a message in either JSON or MIME format. When using JSON format:\r\n- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n- If replyTo is specified in the original message, per Internet Message Format (RFC 2822), you should send the reply to the recipients in replyTo, and not the recipients in from.\r\n- You can update the draft later to add reply content to the body or change oth" }, { "info": { "name": "Microsoft Graph Invoke action createReplyAll", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a draft to reply to the sender and all recipients of a message in either JSON or MIME format. When using JSON format:\r\n- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), you should send the reply to the recipients in the replyTo and toRecipients properties, and not the recipients in the from and " }, { "info": { "name": "Microsoft Graph Invoke action forward", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Forward a message using either JSON or MIME format. When using JSON format, you can:\r\n- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n- Specify either the toRecipients parameter or the toRecipients property of the message parameter. Specifying both or specifying neither will return an HTTP 400 Bad Request error. When using MIME format:\r\n- Provide the applicable Internet message headers and the MIME content, all" }, { "info": { "name": "Microsoft Graph Invoke action move", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Move a message to another folder within the specified user's mailbox. This creates a new copy of the message in the destination folder and removes the original message." }, { "info": { "name": "Microsoft Graph Invoke action permanentDelete", "type": "http" }, "http": { "method": "POST", "url": "https://graph.microsoft.com/v1.0/me/messages/:message-id/permanentDelete", "params": [ { "name": "message-id", "value": "", "type": "path", "description": "The unique identifier of message" } ] }, "docs": "Microsoft Graph Invoke action permanentDelete" }, { "info": { "name": "Microsoft Graph Invoke action reply", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Reply to the sender of a message using either JSON or MIME format. When using JSON format:\r\n* Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n* If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r\n- Provide the applicable Internet message header" }, { "info": { "name": "Microsoft Graph Invoke action replyAll", "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 message" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Reply to all recipients of a message using either JSON or MIME format. When using JSON format:\r\n- Specify either a comment or the body property of the message parameter. Specifying both will return an HTTP 400 Bad Request error.\r\n- If the original message specifies a recipient in the replyTo property, per Internet Message Format (RFC 2822), send the reply to the recipients in replyTo and not the recipient in the from property. When using MIME format:\r\n- Provide the applicable Internet message he" }, { "info": { "name": "Microsoft Graph Invoke action send", "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 message" } ] }, "docs": "Send an existing draft message. The draft message can be a new message draft, reply draft, reply-all draft, or a forward draft. This method saves the message in the Sent Items folder. Alternatively, send a new message in a single operation." }, { "info": { "name": "Microsoft Graph Get the number of the resource", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/$count", "params": [ { "name": "includeHiddenMessages", "value": "", "type": "query", "description": "Include Hidden Messages" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" } ] }, "docs": "Microsoft Graph Get the number of the resource" }, { "info": { "name": "Microsoft Graph Invoke function delta", "type": "http" }, "http": { "method": "GET", "url": "https://graph.microsoft.com/v1.0/me/messages/delta()", "params": [ { "name": "changeType", "value": "", "type": "query", "description": "A custom query option to filter the delta response based on the type of change. Supported values are created, updated or deleted." }, { "name": "$top", "value": "50", "type": "query", "description": "Show only the first n items" }, { "name": "$skip", "value": "", "type": "query", "description": "Skip the first n items" }, { "name": "$search", "value": "", "type": "query", "description": "Search items by search phrases" }, { "name": "$filter", "value": "", "type": "query", "description": "Filter items by property values" }, { "name": "$count", "value": "", "type": "query", "description": "Include count of items" }, { "name": "$select", "value": "", "type": "query", "description": "Select properties to be returned" }, { "name": "$orderby", "value": "", "type": "query", "description": "Order items by property values" }, { "name": "$expand", "value": "", "type": "query", "description": "Expand related entities" } ] }, "docs": "Get a set of messages that have been added, deleted, or updated in a specified folder. A delta function call for messages in a folder is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls, you can [query for incremental changes in the messages in\r\nthat folder](/graph/delta-query-messages). This allows you to maintain and synchronize a local store of a user's messages without\r\nhaving to fetch the entire set of messages from the server every" } ] } ], "bundled": true }