Skip to content
Documentation menu
docs / api / post-map-issues
Feedback and map issues

POST/map-issues

Access and price

AuthAn API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Needs a full key; a browser (maps) key is refused.
Price1 call per request. Class: standard, or premium for truck and ADR work. Published as unit_rules.default in /pricing.json.
PremiumWhen the body asks for truck routing: "costing": "truck", a top-level adr object or "hazmat": true

What it does

File a map-error report, or a driver's traffic report (the traffic-* categories). Never edits map data: map-error reports are triaged by the team and verified fixes flow into the override file and upstream OSM.

An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Metered. Price: 1 call per request.

Call it

bash
curl -fsS -X POST "https://api.mapmap.ai/map-issues" \
  -H "Authorization: Bearer $MAPMAP_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category":"string","lat":0,"lon":0}'

Request body

application/json · CreateMapIssueRequest

FieldTypeRequiredDescription
categorystringyesOne of [CATEGORIES], e.g. "restriction-wrong".
contactstringnoOptional contact email for follow-up (trimmed, at most 200 bytes; length-checked only).
heading_degnumbernoDirection of travel in degrees clockwise from north, 0 <= x < 360: the route's bearing at the reported position. Required for the traffic-* categories, optional otherwise.
latnumberyesLatitude of the problem, decimal degrees (WGS84), within [-90, 90].
lonnumberyesLongitude of the problem, decimal degrees (WGS84), within [-180, 180].
notestringnoOptional free-form description (trimmed, at most 1000 bytes).

Example: A request assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "category": "string",
  "lat": 0,
  "lon": 0
}

Responses

201Report stored for triage
FieldTypeRequiredDescription
idstringyesReport id (UUID v4).

Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call

json
{
  "id": "string"
}
400Invalid category, out-of-bounds coordinates, over-long note/contact, heading_deg out of range, or a traffic report without heading_deg

application/problem+json · Problem

401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (unauthorized); the body carries signup, docs and a one-call hint for a free key

application/problem+json · Problem

402Beyond the included volume with no way to pay this call: an x402 body naming how to pay (provisional key past its allowance, prepaid balance below the price, or a rejected X-PAYMENT). Not problem+json

application/json · X402PaymentRequired

403The key may not call this: a browser key outside its scope (scope-insufficient), a request from an origin the key does not allow (origin-not-allowed), or an account restriction (forbidden)

application/problem+json · Problem

413The request declares a body larger than 1048576 bytes (plain text, not problem+json)

text/plain

429This key has hit its daily report cap. Also: Per-key rate limit (rate-limited, with Retry-After), or monthly quota exhausted with no payment path (quota-exceeded)

application/problem+json · Problem

504The request did not finish within the gateway's request deadline (request-timeout)

application/problem+json · Problem

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

Also under Feedback and map issues

Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId create_issue