---
title: "Submit form"
method: POST
path: "/table/{tableId}/record/form-submit"
tags: ["record"]
---

# Submit form

`POST /table/{tableId}/record/form-submit`

Submit a record through a form view. This will trigger "When form submitted" automations.

## Path parameters

- `tableId` string, required

## Request body

- object
  - `viewId` string, required — Form view ID
  - `fields` object, required — Objects with a fields key mapping fieldId or field name to value for that field.
  - `typecast` boolean

## Response `201`

Returns the created record.

- object
  - `id` string, required — The record id.
  - `name` string — primary field value
  - `fields` object, required — Objects with a fields key mapping fieldId or field name to value for that field.
  - `autoNumber` number — Auto number, a unique identifier for each record
  - `createdTime` string — Created time, date ISO string (new Date().toISOString).
  - `lastModifiedTime` string — Last modified time, date ISO string (new Date().toISOString).
  - `createdBy` string — Created by, user name
  - `lastModifiedBy` string — Last modified by, user name
  - `permissions` object — Permissions for the record
  - `undeletable` boolean — Whether the record is undeletable

---

[API](https://skmtc.dev/teable/apis/teable-app.md) · [All operations](https://skmtc.dev/teable/apis/teable-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/teable/teable-app/revisions/7515f3b33d79/schema)
