Payload Limits

To provide the highest possible quality of service to all customers, Segment has limits on the amount data you can send to the Segment Public API in a single request.

This API supports HTTP requests with bodies containing up to 25mb (26,214,400 bytes) worth of data.

Payload limit error

Requests with payload over this limit fail with the 413 status code:

{
  "errors": [
    {
      "type": "PayloadLimitError",
      "message": "The payload limit size of 25mb has been reached"
    }
  ]
}