Authentication

In this guide, we will discuss the use of specific headers for authentication and authorization.

Base URL

Base URL: https://api.getdex.com/api/rest

Headers (included in all requests)

  • Content-Type: application/json

  • x-hasura-dex-api-key: your-api-key

 x-hasura-dex-api-key: your-api-key

The x-hasura-dex-api-key header should contain the user's API key. This key is used for identifying the user and further processing the request. To use it, include the x-hasura-dex-api-key header with the value being your personal API key in your API requests.

Last updated