Felt Elements API
Elements enable you to annotate maps with custom shapes, text, and markers. With these APIs, you can create, update, and delete map elements.
Elements enable you to annotate maps with custom shapes, text, and markers. With these APIs, you can create, update, and delete map elements.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/felt:felt-elements-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: Felt REST API v2.0
title: Felt Elements API
version: '2.0'
servers:
- url: https://felt.com
variables: {}
security: []
tags:
- description: 'Elements enable you to annotate maps with custom shapes, text, and markers.
With these APIs, you can create, update, and delete map elements.'
name: Elements
x-page-description: APIs for drawing spatially
x-page-icon: shapes
paths:
/api/v2/maps/{map_id}/elements/{element_id}:
delete:
callbacks: {}
description: 'Permanently delete an element from a map.
{% hint style="warning" %}
This action cannot be undone. The element will be permanently removed from the map.
{% endhint %}'
operationId: delete_map_element
parameters:
- description: The ID of the map to delete the element from.
in: path
name: map_id
required: true
schema:
type: string
- description: The ID of the element to delete.
in: path
name: element_id
required: true
schema:
type: string
responses:
'204':
description: No Content
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: Delete map element
tags:
- Elements
/api/v2/maps/{map_id}/elements:
get:
callbacks: {}
description: Returns a GeoJSON `FeatureCollection` containing all the elements in a map that are not in an element group.
operationId: list_map_elements
parameters:
- description: The ID of the map to list elements from.
in: path
name: map_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeoJSON'
description: GeoJSON
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: List map elements
tags:
- Elements
x-sort-order: 0
post:
callbacks: {}
description: 'Create new elements or update existing ones on a map using GeoJSON data.
Each element is represented by a feature in the `POST`''ed GeoJSON Feature Collection.
For each feature, including an existing element `id` will result in the element being updated on the map. If no element `id` is provided (or a non-existent one), a new element will be created.
{% hint style="info" %}
The maximum payload size for any `POST` to the Felt API is 1MB. Additionally, complex element geometry may be automatically simplified. If you require large, complex geometries, consider uploading your data as a Data Layer.
{% endhint %}'
operationId: upsert_map_elements
parameters:
- description: The ID of the map to create the elements in
in: path
name: map_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GeoJSON'
description: Upsert element parameters
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeoJSON'
description: GeoJSON
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: Create or update map elements
tags:
- Elements
/api/v2/maps/{map_id}/element_groups/{group_id}:
get:
callbacks: {}
description: Retrieve all elements from a specific group as GeoJSON.
operationId: show_map_element_group
parameters:
- description: The ID of the map.
in: path
name: map_id
required: true
schema:
type: string
- description: The ID of the element group.
in: path
name: group_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeoJSON'
description: GeoJSON
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: Get map element group
tags:
- Elements
/api/v2/maps/{map_id}/element_groups:
get:
callbacks: {}
description: Returns a list of GeoJSON `FeatureCollection`s, one for each element group in the map.
operationId: list_map_element_groups
parameters:
- description: The ID of the map to list groups from.
in: path
name: map_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ElementGroupList'
description: ElementGroupList
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: List map element groups
tags:
- Elements
post:
callbacks: {}
description: 'Create new element groups or update existing ones.
For each Element Group, including an existing Element Group `id` will result in the Element Group being updated. If no `id` is provided, a new Element Group will be created.
{% hint style="info" %}
The maximum payload size for any `POST` to the Felt API is 1MB. Additionally, complex element geometry may be automatically simplified. If you require large, complex geometries, consider uploading your data as a Data Layer.
{% endhint %}'
operationId: upsert_map_element_groups
parameters:
- description: The ID of the map to create the group in
in: path
name: map_id
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ElementGroupParamsList'
description: Upsert element groups parameters
required: false
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/ElementGroupList'
description: Element group list
'401':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/UnauthorizedError'
description: UnauthorizedError
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundError'
description: NotFoundError
'422':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'429':
content:
application/json:
schema:
$ref: '#/components/schemas/JsonErrorResponse'
description: Unprocessable Entity
'500':
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: InternalServerError
security:
- bearerAuth: []
summary: Create or update map element groups
tags:
- Elements
components:
schemas:
GeoJSON:
properties:
features:
items:
properties:
geometry:
properties:
felt:id:
$ref: '#/components/schemas/FeltID'
felt:parentId:
example: luCHyMruTQ6ozGk3gPJfEB
format: felt_id
type:
- string
- 'null'
type: object
properties:
type: object
type:
enum:
- Feature
type: string
type: object
type: array
type:
enum:
- FeatureCollection
type: string
required:
- type
- features
title: GeoJSON
type: object
JsonErrorResponse:
properties:
errors:
items:
properties:
detail:
example: null value where string expected
type: string
source:
properties:
pointer:
example: /data/attributes/petName
type: string
required:
- pointer
type: object
title:
example: Invalid value
type: string
required:
- title
- source
- detail
type: object
type: array
required:
- errors
title: JsonErrorResponse
type: object
InternalServerError:
properties:
errors:
items:
properties:
detail:
type: string
source:
properties:
parameter:
type: string
type: object
title:
type: string
type: object
type: array
title: InternalServerError
type: object
ElementGroupList:
items:
$ref: '#/components/schemas/ElementGroup'
title: ElementGroupList
type: array
ElementGroupParamsList:
items:
$ref: '#/components/schemas/ElementGroupParams'
title: ElementGroupParamsList
type: array
ElementGroupParams:
additionalProperties: false
properties:
color:
default: '#C93535'
type: string
id:
$ref: '#/components/schemas/FeltID'
name:
example: My Element Group
type: string
symbol:
default: dot
type: string
required:
- name
title: ElementGroupParams
type: object
FeltID:
example: luCHyMruTQ6ozGk3gPJfEB
format: felt_id
title: FeltID
type: string
UnauthorizedError:
properties:
errors:
items:
properties:
detail:
type: string
source:
properties:
header:
enum:
- authorization
type: string
type: object
title:
type: string
type: object
type: array
title: UnauthorizedError
type: object
ElementGroup:
additionalProperties: false
properties:
color:
description: The color of the element group symbol.
type: string
elements:
$ref: '#/components/schemas/GeoJSON'
id:
description: The ID of the element group.
type: string
name:
description: The name of the element group.
type:
- string
- 'null'
symbol:
description: The symbol used to represent the element group.
type:
- string
- 'null'
required:
- id
- color
- name
- symbol
- elements
title: ElementGroup
type: object
NotFoundError:
properties:
errors:
items:
properties:
detail:
type: string
source:
properties:
parameter:
type: string
type: object
title:
type: string
type: object
type: array
title: NotFoundError
type: object
securitySchemes:
bearerAuth:
bearerFormat: YOUR_API_KEY
scheme: bearer
type: http