capabilities.work

Large Attachment Upload Session

A 2-step recipe with Microsoft Outlook. We can help you get access.

Recipe · 2 steps

Large Attachment Upload Session

Create a draft, then open an upload session for a large attachment.

  1. Create a draft message to attach the large file to, and capture its message id.
  2. Open an upload session against the draft for the large attachment. Graph returns 201 with the uploadUrl the caller PUTs byte ranges to.
What you'll need to have ready
  • subject: The subject line of the draft message.
  • bodyContent: The body content of the draft message.
  • toRecipientAddress: The email address of the primary recipient.
  • attachmentName: The display name of the large file attachment.
  • attachmentSize: The size of the attachment in bytes (must be 3 MB to 150 MB).
  • attachmentContentType: The MIME type of the attachment.
For your developer

Arazzo workflow microsoft-outlook:large-attachment-upload-session, 2 operations: createDraftMessage → createAttachmentUploadSession. Specs on APIs.io.