These cookies provide us with information on how our websites are being used, to help us improve the quality and relevance of content we place on them. Additionally, they also allow us to show you embedded videos and remember your preferences and actions, so that the websites do not bother you with the same request repeatedly (e.g. filling a form to download a PDF file and provide feedback about such actions to our affiliated entities).
Create an API Access Token
To use the GoodData API, you can generate a personal access token and use it to access the GoodData resources on behalf of the issuing user.
You can create API tokens for yourself, or a user with a permission to manage your organisation can create it for you.
Generate Personal Access Tokens
To generate a token, use one of the following methods that are described below.
On homepage, go to Settings.
In the Developer section, next to Personal access tokens, click Manage.
Click + Create.
Type a name for the token and click Create.
- Copy the token and close the window.
To remove any token, open the list of tokens and click the bin icon on the right.
You can submit a POST
request to /api/v1/entities/users/{:userId}/apiTokens
.
In the Authorization
header of the request, provide the value of a different token (another user’s API token or the $BOOTSTRAP_API_TOKEN
.
Use the Generated API Token in HTTP Requests
To authenticate using the API token, add the Authorization: Bearer $API_TOKEN
header to your HTTP request.