Skip to content

50,000 free calls a month, card-free. Get an API key →

Documentation menu
docs / api / get-styles
styles

GET/styles

API key required, sent as Authorization: Bearer snk_… or ?api_key=snk_….

What it does

Authenticated and scoped: a key sees the styles it (or a sibling key of the same identity) created, and nothing else. It was previously public and unscoped, which published every style id and name on the deployment to anyone who asked: see the module docs.

Call it

bash
curl -fsS -X GET "https://api.mapmap.ai/styles" \
  -H "Authorization: Bearer $MAPMAP_KEY"

Responses

200The calling key's hosted styles
401Missing or invalid API key
404Hosted styles not configured on this gateway

Error bodies follow the shared problem model documented on API conventions.

Also under styles

Generated from https://api.mapmap.ai/openapi.json on 2026-09-17 · operationId list_styles