Authentication

Use Tokens

If you are using the REST API, you need to provide the access token in each request.

curl --request GET \
     --url https://data-api.foursquare.com/v1/maps \
     --header 'Authorization: Bearer <Token>' \
     --header 'accept: application/json'

This access token will allow API calls to access the same resources (maps, datasets, etc) that your user account is allowed to access in the Studio application. The token will expire after a given time period, and you will need to visit this page again to get a new one.

❗️

Warning

This token should be kept safe! Anyone who has it can access to your data until it expires.

Authentication Errors

API calls that are unauthorized, do not include a token, include an expired or malformed token, etc. will return an appropriate error in the response.