---
title: Headers
description: InfluxDB Cloud Serverless API endpoints use standard HTTP request and response headers. The following table shows common headers used by many InfluxDB Cloud Serverless 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. Authorizati
url: https://docs.influxdata.com/influxdb3/cloud-serverless/api/headers/
estimated_tokens: 390
publisher: InfluxData
canonical: https://docs.influxdata.com/influxdb3/cloud-serverless/api/headers/
---

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

InfluxDB Cloud Serverless API endpoints use standard HTTP request and
response headers. The following table shows common headers used by many
InfluxDB Cloud Serverless 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.     |
| Header | Value type | Description |
| --- | --- | --- |
| 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. |
