Generate a JWT token to access the IBM® ESG Suite
APIs.
About this task
The JWT token is supplied as the bearer token as part of the API authentication process. API
client tools might have different ways for supplying the JWT token for authentication.
Note: If you can no longer find your JWT token, you can generate a new one. However, the new token
automatically invalidates the previous token.
Procedure
- Click the profile icon on the menu bar, and click My API Access
Token to open the Access Tokens grid.
- Click Create New.
- Assign a token name. The name must be unique.
- Set the number of days that the token is valid for in the Expire
on field. Select from:
- 1 day
- 7 days
- 30 days
- 60 days
- 1 Year
- Never
- Set the scope of the token. Select the API endpoints that the token will apply
to.
Select
Meta Record to include calls to the
/meta endpoint in the token. Select
Report Record to
include calls to the
/data endpoint.
Note: It is recommended that you select
both API endpoints.
- Click Save.
The token is added to the
Access Tokens grid.
- Click Actions and select Generate Token
from the menu.
The Generate Token confirmation dialog is
displayed with the token and expiry date.
- Copy the full content of the JWT token.
Important: Copy and securely store the JWT token somewhere. It is no longer visible to
you from the platform when the token is saved.
- Click Save.
The name and scope of the token is
sent to you by email, but not the JWT token or expiry date.
Results
The status of the token updates to Generated - Inactive. Later, when
you use the token, it updates to Generated - Active.
What to do next
For more information about using the JWT token to authenticate API calls, see Accessing APIs.