Using Nerm API Bearer Token

NERM APIs utilize Bearer tokens at this time. You can get a Bearer token from the UI of a tenant in Admin > System > API.

From there, in Postman (If you have forked our Postman Collection: Postman Workspace ), you can set a “bearerToken” variable in your Postman environment and you should be good to go.

If you haven’t forked our collection, you can still do this in Postman. In your environment (or create a new one), set up a variable to hold the bearer token. The value should just be the API Token value like “1234”. That should look something like:

Then, in your Collection, go to the Authorization tab. Set the Auth Type to “Bearer” and the use the variable you set- {{bearerToken}}

Then, any folders or requests inside of that collection should use the “Inherit Auth from parent” Auth Type to pull in that Bearer token:

2 Likes