POST /me/messages/{message-id}/attachments
Use this API to add an attachment to a message. An attachment can be one of the following types: All these types of attachment resources are derived from the attachment resource. You can add an attachment to an existing message by posting to its attachments collection, or you can add an attachment to a message that is being created and sent on the fly. This operation limits the size of the attachment you can add to under 3 MB.
Servers
- https://graph.microsoft.com/v1.0
Path parameters
Name | Type | Required | Description |
---|---|---|---|
message-id |
String | Yes |
The unique identifier of message |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.