Skip to main content
POST
/
bases
/
{databaseId}
/
tables
/
{tableId}
/
records
Create record
curl --request POST \
  --url https://tables.fillout.com/api/v1/bases/{databaseId}/tables/{tableId}/records \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "record": {
    "Name": "John Doe",
    "Email": "john@example.com",
    "Priority": "high"
  }
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fields": {
"Name": "John Doe",
"Email": "john.doe@newcompany.com",
"Priority": "low"
},
"record": {
"fwtJyga6dso": "John Doe",
"k8mNp2xQ9rL": "john.doe@newcompany.com",
"vB3zXc7Hf2w": "low"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
Creates a new record in a table with the provided field data using either the table ID or table name.
Use field names or field IDs as keys and field values as data (e.g., "Email": "user@example.com" or "fwtJyga6dso": "user@example.com")

Authorizations

Authorization
string
header
required

Enter your Fillout API key. Format: Bearer <api_key>

Path Parameters

databaseId
string
required

The unique identifier of the database

tableId
string
required

The unique identifier of the table. You can also use the table name instead of the ID.

Body

application/json
record
object
required

Record data with field names or field IDs as keys and their corresponding values

Example:
{
"Name": "John Doe",
"Email": "john@example.com",
"Priority": "high"
}

Response

Record created successfully

id
string<uuid>
required

Unique UUID identifier for the record

fields
object
required

Record data with field names as keys

Example:
{
"Name": "John Doe",
"Email": "john.doe@newcompany.com",
"Priority": "low"
}
record
object
required

Record data with field IDs as keys

Example:
{
"fwtJyga6dso": "John Doe",
"k8mNp2xQ9rL": "john.doe@newcompany.com",
"vB3zXc7Hf2w": "low"
}
createdAt
string<date-time>
required

ISO timestamp of when the record was created

updatedAt
string<date-time>
required

ISO timestamp of when the record was last updated

I