Getting started with the API

Authentication on the Nabla server API is done through tokens, which you have to pass through an Authorization header.

For example, if you want to call the Nabla server API with curl, you should follow the following format:

curl https://api.nabla.com/{endpoint} -H "Authorization: Bearer <SERVER_API_KEY_TOKEN>"

To generate a server API key, go to your Nabla Console, select the Developers tab, click on "API keys" and then on "Add server API key".
This will generate the key and display your newly created key's token, which you should use for your API calls.

⚠ Your API keys carry many privileges, so make sure to keep them secure! They should never be shared with your users or posted to public places such as GitHub.

OpenAPI exports

You can download the OpenAPI file for the server API and use it in tools like Postman.