Search code examples
microsoft-graph-apioutlook-restapi

Microsoft Graph API: Is there any limit on payload size of a POST request


Is there any limit on the payload size of a POST request in Graph API. This link suggests a limitation of 4MB. Is there any reference to this in the documentation?

Also is there any limitation for the outlook REST API


Solution

  • That is correct, individual requests to Microsoft Graph must be 4MB of less. An example from the documentation for /attachments:

    Since there is currently a limit of 4MB on the total size of each REST request, this limits the size of the attachment you can add to under 4MB.