v1
latestOpenAPI 3.0.42026-07-174835104.5 KBme.message
Add file attachment
Use this API to add a file attachment to a message. An attachment can be one of the following types: fileAttachment, itemAttachment, or referenceAttachment. All these types of attachment resources are derived from the attachment resource. For file attachments smaller than 3 MB, use this endpoint. For larger files, use the createUploadSession endpoint.
post/me/messages/{messageId}/attachments
Request body
Response
Created attachment