API Key
Where do I get an API Key?
You can get an API Key on the Dashboard.
How do I regenerate my API Key?
You can regenerate your API key from the Dashboard. Navigate to the API key section and click on “Regenerate”.
What should i do if my API Key got leaked?
We strongly recommend to regenerate your API Key if you think that it got leaked.
Where should i Include my API Key?
You can include your API key in the URL parameters or the request headers of each request. Here’s how it can be formatted:
For security reasons, we recommend using the API key in the request headers.
Name | Value |
---|---|
Authorization | <API_Key> |
Curl
curl --location 'https://api.cookie-api.com/api/api-key' \--header 'Authorization: API_Key'
Name | Value |
---|---|
Authorization | <API_Key> |
Curl
curl --location 'https://api.cookie-api.com/api/api-key?Authroization=API_Key'