How to generate the authentication token using API from the postman
You can generate the authentication token for a user in Bold Reports® Report Server by using the token API. To do this, you pass the user’s login details in the request body.
How do I generate a token in Postman?
You generate a Report Server token in Postman with a POST request to the token endpoint. Follow these steps:
-
Open the
Postmanapplication and create a newPOSTHttp request. -
In the request URL, provide your Report Server URL and append
reporting/api/site/{tenant-name}/tokento generate the authentication token. -
In the body section, add
username,password, andgrant_type. Provide the user login details, withgrant_typeset topassword.
-
Click
Send. The response contains the generated authentication token.
Frequently asked questions
Which grant type do I use for a username and password?
Set grant_type to password and pass the username and password in the request body.