me.message

Create large file attachment upload session

Changed on

Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified message. Use this approach to attach a file if the file size is between 3 MB and 150 MB. To attach a file smaller than 3 MB, do a POST on the attachments navigation property instead. As part of the response, this action returns an upload URL that you can use in subsequent sequential PUT queries.

post/me/messages/{messageId}/attachments/createUploadSession

Request

Request body

Response

Success - returns an upload session

OR
UploadSessionCompletedResponse nullable required

Changes

    • info

      api operation id me.messages.message.attachments.createUploadSession removed and replaced with createUploadSession

    • info

      api operation id createUploadSession removed and replaced with me.messages.message.attachments.createUploadSession