Skip to content

API Tokens

You can create an API Token from within Nuki Web. Head to the “API” menu and select “Generate API token”.

A form will appear, where you can provide a name for your API token, helping you to identify it later on. Select the relevant scopes for this token.

Once you have clicked “Save”, your API token will appear. You must copy this for use and store it somewhere securely.

You can use this API Token within the “Authorization” header of your request. The value should be “Bearer”, followed by a space, and then your bearer token.

Authorization: Bearer <BEARER_TOKEN>

Here is an example request using that bearer token:

Terminal window
curl --location 'https://api.nuki.io/smartlock/auth' --header 'Accept: */*' --header 'Authorization: <BEARER_TOKEN>'