This documentation is for an older version of GoodData. Go to the latest version of this article.
How to access secured APIs
GoodData uses bearer authentication (aka token authentication) for the HTTP authentication scheme.
Other schemes are not supported. This includes the most common schema,
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
curl, create a request to GoodData using the bearer token:
curl -H "Authorization: Bearer jASkl3jkld012jkljnda02nklaDSAJKL0sasd21j9FKL" https://...