Skip to main content

Introduction

You’ll need to authenticate your requests to access any of the endpoints in the CREX API. In this guide, we’ll look at how the authentication works.

Getting the key

CREX’s engineering team will issue you a API key. You need to use this key to make all the requests.

Using the API key

When making requests, you will need to include the API key in the headers of the request.
Example request with API key
curl -G https://api.gocrex.com/api/device-model-emissions
  -H "X-API-Key: {api-token}"
Always keep your api key safe and reset it if you suspect it has been compromised.