How to access secured APIs

GoodData.CN uses bearer authentication (aka token authentication) for the HTTP authentication scheme .

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 $GDC_API_TOKEN


Using curl, create a request to GoodData.CN using the bearer token:

curl -H "Authorization: Bearer jASkl3jkld012jkljnda02nklaDSAJKL0sasd21j9FKL"  https://...