REST API
Automate Felt with the REST API. Create API tokens, find map and layer IDs, export data, and use webhooks to track changes.
Available on the Business and Enterprise plans. Compare plans
Use the Felt REST API to create maps, upload and refresh data, style layers, add annotations, and export data or images. Create an API token in workspace settings and send it with each request. The developer docs cover every endpoint, with request bodies and code examples.
The Platform add-on includes the API access needed to create embed tokens. See Authenticated embeds.
What you can do with the REST API
The REST API covers maps, projects, layers, annotations, comments, data sources, and dashboard components. You can:
Create, update, duplicate, move, and delete maps and projects.
Upload files and URLs to a map, and refresh a layer with a new file or from its URL.
Update, style, group, publish, and delete layers.
Export a layer's data, and export a map as an image.
Add and update annotations, which the API calls elements.
Create embed tokens for private embedded maps.
The REST API doesn't add or edit individual features in a layer. To change a layer's data, upload a new file to the layer, refresh the layer, or edit its features in Felt. See Edit features. An AI tool connected to Felt's MCP server can add, edit, or delete features with the edit_features tool.
For Python, the felt-python library wraps the REST API. To work with Felt from an AI tool such as Claude or ChatGPT, see MCP integrations.
Create an API token
An API token, sometimes called an API key, authenticates your REST API requests.
On the workspace home page, click your workspace name in the sidebar, then click Workspace settings.
Click the Developers tab.
Under API tokens, click Generate a new token.
In Name, enter a name that describes what the token is for, then click Create. Felt shows the token once.
Copy the token, store it somewhere safe, and click Done.
Send the token in the Authorization header of each request, as Authorization: Bearer <token>.
An API token uses your access in the workspace where you created it. Only its creator can delete it, and deleting it stops every request that uses it. If you lose a token, click Delete next to it and generate a new one.
An API token gives access to your maps and data. Keep it on a server or in a secret store, never in a web page or in extension code.
Find map, layer, and folder IDs
Map ID: In the toolbar, click Developer Platform > Copy map ID.
Layer or layer group ID: In the legend, click the ··· menu on the layer or group, then click Actions > Copy layer ID or Copy group ID.
Folder ID: In the toolbar, click Developer Platform > Copy folder ID.
Webhooks
A webhook sends a POST request to your URL each time a map is edited or someone comments on it.
Click your workspace name in the sidebar, then click Workspace settings.
Click the Developers tab.
Under Webhooks, click Create a new webhook.
In Webhook URL, enter the address that should receive the requests.
In Map, select the map to watch, and click Create. The Signing key appears.
Copy the signing key, store it somewhere safe, and click Done.
Each request includes the event type map:update and the map's ID, but doesn't describe what changed. Use the REST API to fetch what you need. To check that a request came from Felt, verify the felt-signature header with the signing key. See Listening to updates using webhooks in the developer docs.
Frequently asked questions
Last updated
Was this helpful?