Get all map records for the authenticated user.
Method
GET https://data-api.foursquare.com/v1/maps HTTP/1.1
Get all map records for the organization of the authenticated user.
GET https://data-api.foursquare.com/v1/maps/for-organization HTTP/1.1
Response
List of map records.
{
"items": [
{
"id": "string",
"name": "string",
"createdAt": "2020-11-03T21:27:14.000Z",
"updatedAt": "2020-11-13T01:44:07.000Z",
"description": "",
"privacy": "private",
"permission": "editor"
}
]
}
For non-enterprise users, organization=True
will cause the request to fail with:
403: Insufficient permission level to perform this action
Example
curl https://data-api.foursquare.com/v1/maps -H 'Authorization: Bearer <token>'