cURL
curl --request POST \ --url https://tables.fillout.com/api/v1/bases/{databaseId}/tables \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "fields": [ { "type": "single_line_text", "name": "<string>", "template": {} } ] } '
201
Example
{ "id": "<string>", "name": "<string>", "order": 123, "primaryFieldId": "<string>", "fields": [ { "id": "<string>", "name": "<string>", "type": "single_line_text", "template": {}, "order": 123 } ], "views": [ { "id": "<string>", "name": "<string>", "type": "<string>", "config": { "sorts": [ {} ], "hiddenFieldIds": [ "<string>" ], "fieldWidths": {}, "orderedFieldIds": [ "<string>" ] } } ]}
Adds a new table to an existing database.
Enter your Fillout API key. Format: Bearer <api_key>
The unique identifier of the database
Table name
1
Array of field definitions to create with the table
Show child attributes
Table created successfully
Unique identifier for the table
Name of the table
Display order of the table
ID of the primary field in the table
List of fields in the table
List of views in the table
Was this page helpful?