Skip to main content

Request Headers

The following HTTP request headers are essential for all request methods and must be included in every API request.

Mandatory Request Headers​

Compression: In order to increase performance and reduce bandwidth usage, requests must include HTTP compression in the Accept-Encoding header. At least one of the following values is required:

Accept-Encoding: gzip

or

Accept-Encoding: zstd

API Key: Authentication is required for every request to the Travelgate GraphQL API. An API Key must be included in the HTTP Authorization request header to authenticate the user agent with the server. You can find your API Key on the Travelgate website in Connections > Connections Settings.

Authorization: ApiKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
API Key Information

By default, API Keys do not have access to the Inventory Set Up GraphQL API. If you are interested in using the Push GraphQL API, please contact our team at sales.support@travelgate.com - Note this email is exclusively for commercial inquiries from existing customers.