How to set up Authorization header for API Calls

When making requests to the Trustev API, you are required to send over a section in the HTTP Request Header that indicates your UserName and API Token. This request header section is required for every API request, but excluding the Get Token request. The X-Authorization section must be in the following format:

X-Authorization: UserName APIToken

E.G. X-Authorization: TrustevTest 4b312a24-2495-4ba4-8f85-d891bab1cac8

In order to communicate with the Trustev API, you must have a valid API Token. You can get an API Token via a successful Get Token Request.

API Tokens expire after 30 minutes. An 'ExpireAt' DateTime parameter is included in the response header so that you may validate your API Token before using it.


Have more questions? Submit a request


Powered by Zendesk