📘

About this guide

This guide walks you through accessing Demyst's API gateway through API keys.

Users can generate, control, and destroy REST API keys through the Demyst platform to conform with their organisation's rotation policies.

🚧

Demyst will not store API keys in plain text, which means that keys must be saved when they are generated.

Sample cURL request with token generation

curl -X POST \
https://gw.us.demystdata.com/v2/channel \
-H 'Content-Type: application/json' \
-d '{
  "api_key": "xxxxxxxxxxxxxxxxxxxxxx",
  "id": 1020,
  "inputs": {
  }
}'