HTTP headers
API headers are an essential part of API requests and responses, but also of webhooks. They provide additional information and can be used to provide additional context, prove authorisation to access resources or provide other important metadata. Understanding the different types of API headers and how they are used is crucial and facilitates quick problem solving. For example, we can use the header data to identify the cause much more quickly and get to the bottom of it.
In this article, we will focus on the main types of API headers, their purposes and their use.
Request headers
Some HTTP message headers are required in requests to the Investment API.
See the Implementing HTTP Signatures tutorial for important details on how and when these headers should be included.
Response headers
Response headers provide information about the response to the request.
Here are some of the most important response headers:
Webhook headers
The following table lists some of the custom headers for webhooks (standard headers are not mentioned here):
Was this page helpful?