Data Compression

To reduce the amount of data being transferred over the network as part of the API response, the gzip compression data compression utility is enabled to compress payload sizes greater than 1400 bytes.

To compress large responses, pass the following key/value pair as part of the header request:

Accept-Encoding: application/gzip

If the data is compressed, the following key/value pair will be returned in the response header:

Content-Encoding: application/gzip

To determine if the data has been compressed, look at the response header. If the content is compressed, decompress it using the necessary client libraries.