MapScale Docs
API ReferenceHealth and contract
← MapScale API
POST/v1/places/selections

Report an autocomplete selection

Public operational checks and the OpenAPI document.

Sends this request to the live API and shows the real response.

Equivalent request
curl \
  -X POST \
  -H "X-MapScale-Key: $MAPSCALE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"featureKey":"osm:way:25770183"}' \
  "https://api.mapscale.io/v1/places/selections"
Response
Default response
{
  "status": "202",
  "contentType": "application/json",
  "description": "Selection received"
}

Request body

Required · application/json

application/json
{
  "featureKey": "osm:way:25770183"
}

Responses

202Selection receivedapplication/json
400Invalid request bodyapplication/json
401mapscale/effect-api/UnauthorizedFailureapplication/json
403mapscale/effect-api/ForbiddenFailureapplication/json
429mapscale/effect-api/RateLimitedFailureapplication/json
500mapscale/effect-api/MiddlewareInternalFailureapplication/json

On this page

Analytics settings