To generate a new key you need the following information:
If a key never expires it can be used to access the API forever, unless the key is revoked.
If a key has an expiry date (and time) it will not allow access to the API from that time. Revoking an expired key has no effect.
To begin, from the dashboard, click the big button:
Fill out the name and either enter a future expiry date or check the "Key never expires" checkbox:
Use HTTPS to send and receive data to/from the APIs.
To use a restricted API you must use an API key to authenticate your requests. This is done with the Authorization request header.
The standard header looks like:Autorization: Apikey 76c94af1-7b3c-446f-b7e9-f8c291543293
To use your API key with curl:
curl -H "Authorization: ApiKey 76c94af1-7b3c-446f-b7e9-f8c291543293" https://api.example.orgor wget:
wget --header="Authorization: ApiKey 76c94af1-7b3c-446f-b7e9-f8c291543293" https://api.example.orgYou can stop a key from being used to access to API immediately at any time.
Revoking an expired key has no effect: the key stopped working when it expired.
To revoke a key:
No