Common Request Headers

Here are the request headers that are common across the APIs.

Header Description Example
Accept List the media types that you prefer for the response body. Note that unless an operation specifies otherwise, the media type for a response body is application/json. application/json
Authorization How to validate the user. See Authorization.

Authorization: Bearer eyJhbGciOiJ...9yoQ

Content-Length The size of the request body in bytes. 540
Content-Type The media type of the request body. This header is required for POST and PUT requests.

Note that unless an operation specifies otherwise, the media type for a request body is application/json.

application/json