Curolia API
Alpha. The v1 API is an early alpha. Endpoints, fields and behaviour may change or disappear at any time, without backwards compatibility or prior notice. Responses carry an X-API-Status: alpha header.
The Curolia REST API lets you read and manage your profile, maps and pins from your own scripts and integrations. Plugin data can be included on maps and pins.
Getting started
- Create an API key on the API keys page (you need to be signed in). Keys with the
readscope can only useGET;writeis required for everything else. - Send it as a bearer token:
Authorization: Bearer cur_live_…. A key acts as your account, with exactly the access you have in the app. - Base URL:
https://cqlccyksvmtzvjnpyevo.supabase.co/functions/v1/api
curl https://cqlccyksvmtzvjnpyevo.supabase.co/functions/v1/api/v1/maps \ -H "Authorization: Bearer $CUROLIA_API_KEY"
Conventions
- JSON request and response bodies with camelCase fields.
- Lists return
{ data, nextCursor }. Passcursor(and optionallylimit, 1–200) to page through results. - Errors return
{ error: { code, message } }with status 400, 401, 403, 404, 405 or 409. Resources you cannot see return 404. - Add
?include=pluginsto map and pin requests to include data from enabled plugins that expose it, keyed by plugin id.
Endpoints
Select an endpoint for its parameters, request body and example responses.
Profile — The account that owns the API key.
Maps — Maps you are a member of (or public maps by id).
Pins — Pins on a map.
Plugins — Plugin data exposed on maps and pins.
OpenAPI
The full schema, including request and response fields, is available as OpenAPI 3.1 at https://cqlccyksvmtzvjnpyevo.supabase.co/functions/v1/api/v1/openapi.json. No API key is required for it.