POST
/v3/grants/{grant_id}/attachment-uploadsCreate an attachment upload sessionBeta
Create a resumable upload session for a large attachment (up to 150 MB). Returns a pre-signed URL
where you upload the file bytes directly using PUT.
Upload sessions expire one hour after creation. Once you upload the file to the returned URL,
call the complete endpoint
to finalize the upload. After completion, reference the attachment_id in a send or draft request.
Supported providers: Microsoft (Outlook / Exchange via Graph) only. Grants for Google, IMAP,
Yahoo, iCloud, and EWS are rejected with a 401 Unauthorized error.
Required Microsoft scopes (at least one): Mail.Send, Mail.ReadWrite, or Mail.ReadWrite.Shared.
For the full flow, prerequisites, and error handling, see Send large attachments.
Attachment upload session details.