Skip to main content

Accessing your app id and api key

Access through terminal

When you signed up for Nblocks, the terminal tool created a new folder and placed a .env file containing your Nblocks API key and App id.

The file looks like this:

.env
NBLOCKS_APP_ID=XXXX
NBLOCKS_API_KEY=XXXXXXXXX

The app id is used for public calls to our endpoints that are not protected.
The api key is used in private calls to our endpoints that are protected. The api key is secret and should never be shared with anyone.