How do I get an authentication token in Postman?

In Bold Reports® Cloud, you generate a user authentication token by sending a POST request with username, password, and grant_type in the request body. The following steps use Postman.

  1. Open Postman and create a new POST HTTP request.

  2. In request URL, provide your Bold Reports® Report Server URL and append reporting/api/token for generating the authentication token

  3. In the Body section, add username, password, and grant_type. Provide these values as user login details, with grant_type set as password. Postman request body with username, password, and grant_type values

  4. Click Send. The response contains the authentication token. Postman response showing the generated authentication access token

Frequently asked questions

What does the token response contain?

The token response includes access_token, token_type and expires_in. Join token_type and access_token with a space to build the Authorization header value.

How do I use the token in later requests?

Add an Authorization header with the value bearer followed by the token. Cloud Reporting uses it to authenticate each REST API call.

Can I generate the token in code instead of Postman?

Yes. Generate the authentication token using credentials has C#, JavaScript and Node.js samples.