To access the API, you must authenticate requests using an API key.
- Go to your Profile page (
Account Management > Profile
). - In the Password & Security section, find the API key option.
- Click Create to generate a new key.
You can optionally restrict usage of your API key to specific IP addresses:
- Click Manage allowed IPs.
- Enter one or more IP addresses, pressing Enter after each.
- When finished, click Save.
Only requests coming from the specified IPs will be accepted.
- API keys are user-specific.
- Each key inherits the access rights and permissions of the user who created it.
You can validate an API key using the following endpoint:
- Production server
https://api.databox.com/v1/auth/validate-key
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api.databox.com/v1/auth/validate-key \
-H 'x-api-key: YOUR_API_KEY_HERE'