---
title: "Insert features into a table"
method: POST
path: "/v1/spatial/tables/{tableName}/features"
tags: ["Feature Management"]
---

# Insert features into a table

`POST /v1/spatial/tables/{tableName}/features`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/spatial/tables/{tableName}/features`
- Auth: one of:
  - `bearerAuth` (a scheme the document does not define)
  - `ApiKeyAuth` (a scheme the document does not define)

Inserts one or more GeoJSON features into the specified named table.

## Query parameters

- `commitInterval` integer

## Headers

- `X-Request-Id` string

## Request body

- string

## Response `201`

Features inserted successfully

- InsertFeaturesResponse
  - `successfulInserts` integer
  - `insertedKeys` string[]

## Other responses

- `400`: Invalid GeoJSON FeatureCollection in the request body
- `401`: Unauthorized: Invalid token
- `403`: Forbidden
- `404`: Table not found
- `429`: Too many requests
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/precisely/apis/feature-api.md) · [All operations](https://skmtc.dev/precisely/apis/feature-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/feature-api/revisions/6dc26f89c0aa?raw)
