Creating an API Key
To create an API key, follow these steps:1
Step 1
Go to the “Manage API Keys” page in the Cachet dashboard. This is located under the “Settings” navigation group.
2
Step 2
Click the “New API Key” button. You will need to provide a name for the API key. This can be any name that helps
you identify the key.You may select an expiration date for the token. This provides an extra layer of security as tokens will no longer
work after the expiration date. You may choose to leave this blank to create a token that never expires.Finally, select the permissions for the API key. You may leave the permissions empty to select give full permissions.
3
Step 3
Cachet will display the token in plain text. Make sure to copy the token and store it in a secure location.
Cachet will not display the token again. If you lose the token, you will need to create a new API key.
Revoking Tokens
If you no longer need an API key, you can revoke it. To revoke an API key, click the “Revoke” button next to the key.Revoking an API key is irreversible. Once you revoke a key, it can no longer be used to authenticate requests to
the Cachet API.