cURL
curl --request POST \ --url https://api.databar.ai/v1/table/create \ --header 'Content-Type: application/json' \ --header 'x-apikey: <x-apikey>' \ --data ' { "name": "<string>", "columns": [ "<string>" ], "rows": 0 } '
{ "identifier": "123e4567-e89b-12d3-a456-426614174000", "name": "My Table", "created_at": "2023-05-01T12:00:00Z", "updated_at": "2023-05-01T12:00:00Z", "table_url": "https://databar.ai/tables?table=123e4567-e89b-12d3-a456-426614174000&workspace=abc12345-6789-0abc-def0-123456789abc" }
Create a new table in your workspace. Optionally specify a name, column names, and number of empty rows. By default the table is created with columns column1/column2/column3 and 0 rows.
API Key for authentication
Table created successfully