Authentication
How to access secured APIs
GoodData uses bearer authentication (aka token authentication) for the HTTP authentication scheme.
Note
Other schemes are not supported. This includes the most common schema, Basic
.
How to Authenticate
To access APIs, it’s necessary to include a valid bearer token in the authorization header for each request.
To obtain an API token, see Generate the API token.
After you have an API token, add it to every request you make as a bearer token header: Authorization: Bearer $API_TOKEN
Example
Using curl
, create a request to GoodData using the bearer token:
curl -H "Authorization: Bearer jASkl3jkld012jkljnda02nklaDSAJKL0sasd21j9FKL" https://...