---
title: Headers
description: InfluxDB Cloud API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB Cloud API endpoints. Some endpoints may use other headers for functions specific to those endpoints–for example, the write endpoints accept the Content-Encoding header to indicate that line protocol is compressed in the request body. Header Value type Description Accept string The content type that the client can understand. Authorization string The authoriz
url: https://docs.influxdata.com/influxdb/cloud/api/headers/
estimated_tokens: 523
product: InfluxDB Cloud (TSM)
version: cloud
---

[Download InfluxDB Cloud (TSM) API Spec](/openapi/influxdb-cloud-v2-api.yml)

InfluxDB Cloud API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB Cloud API endpoints. Some endpoints may use other headers for functions specific to those endpoints–for example, the write endpoints accept the `Content-Encoding` header to indicate that line protocol is compressed in the request body.

| Header | Value type | Description |
| --- | --- | --- |
| Accept | string | The content type that the client can understand. |
| Authorization | string | The authorization scheme and credential. |
| Content-Encoding | string | Compression applied to the request body (e.g., gzip). |
| Content-Length | integer | The size of the entity-body, in bytes. |
| Content-Type | string | The format of the data in the request body. |
