API Reference

Obtain a key and make your first API call.

To get an API key:

  1. Navigate to Glede API in the Glede Dashboard.
  2. Click on Create new secret key to generate a new API key
  3. Save the API key you've generated somewhere safe.

You won’t be able to obtain the same API key again. If you lose it, that’s OK - you can just create a new API key.

Testing your key

You can copy/paste the cURL command below into your terminal or command prompt. Be sure to replace YOUR-API-KEY with your actual API key.

curl --url 'https://sandbox.api.glede.app/v1/ping' \
     --header 'Authorization: Bearer YOUR-API-KEY'

You'll get a response like:

{
  "message": "Hello world! You have successfully authenticated to the Glede API."
}