---
title: "Create Record"
method: POST
path: "/databases/{databaseId}/tables/{tableId}/records"
tags: ["Records"]
---

# Create Record

`POST /databases/{databaseId}/tables/{tableId}/records`

Create a new record in the specified table.

## Query parameters

- `fieldNames` boolean

## Request body

- object
  - `fields` object — A map of Field IDs to their values.

## Response `200`

The newly created record.

- object
  - `data` Record
    - `id` string
    - `tableId` string
    - `fields` object — A map of Field IDs to their values for this record.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `429` — Rate limit exceeded.

---

[API](https://skmtc.dev/softr/apis/softr-database-api.md) · [All operations](https://skmtc.dev/softr/apis/softr-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/softr/softr-database-api/revisions/0ce045eb468a/schema)
