Essential steps before doing anything else:
- Create an account
- Create a new Project (this could be the name of your API)
- Generate a new ‘Access Key’ (sometimes referred to as a root key)
- Copy your ‘Access Key’ and Project ID somewhere safe!
Let’s create your fist key
Create a key
Open your favourite terminal, copy this API creation code into it. Don’t forget to replace
REPLACE_WITH_YOUR_PROJECT_ID and REPLACE_WITH_YOUR_ACCESS_KEY_FOUND_IN_YOUR_ACCOUNT with your actual values!All the properties...
All the properties...
Here’s an example of all the properties you can post to create a key:To automatically generate a key UID, you can remove the ‘key’ field.
Now validate the key
Run this CURL command in your terminal to validate the key is valid. Don’t forget to replace the
REPLACE_WITH_YOUR_ACCESS_KEY_FOUND_IN_YOUR_ACCOUNT and YOUR_API_KEY!