Skip to main content

HTTP Headers

Headers are metadata exchanged on the request and response between the server and client.

The following headers must be present on all API requests to the MSL Edge API:

  • x-API-Key: MSL Edge will provide a custom value to each customer to grant API access. The value will differ between environments.
  • Unique-ID: Must be an identifier which is unique on each request.
  • Content-type: It indicates the request body format to the server.

The below header is the Bearer authentication and must be present on the APIs that needs authorization:

  • Authorization: Include Bearer at the start followed by a space and then add the token returned by the TOKEN API.