POST
/
share
/
{shareId}
/
view
/
form-submit
curl --request POST \
  --url https://app.teable.io/api/share/%7BshareId%7D/view/form-submit \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"fields":{"property1":null,"property2":null},"typecast":true}'
{
  "id": "<string>",
  "name": "<string>",
  "fields": {},
  "autoNumber": 123,
  "createdTime": "<string>",
  "lastModifiedTime": "<string>",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

shareId
string
required

Body

application/json
fields
object
required

Objects with a fields key mapping fieldId or field name to value for that field.

typecast
boolean

Response

201 - application/json
Successfully submit
id
string
required

The record id.

fields
object
required

Objects with a fields key mapping fieldId or field name to value for that field.

name
string

primary field value

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