Create Row

Add a new row to a table

POST/tables/{table_id}/rows
Requires Bearer authentication

Add a new row of data to the specified table.

Path Parameters

table_idstringrequired

The unique identifier of the table.

Body Parameters

dataobjectrequired

Object containing field values keyed by field slug.

POST/tables/{table_id}/rows
curl -X POST "https://api.vastal.agency/v1/tables/tbl_abc123/rows" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "data": {
    "name": "Jane Smith",
    "email": "jane@example.com",
    "company": "Tech Corp"
  }
}'
201Created
{
"success": true,
"data": {
  "id": "row_002",
  "data": {
    "name": "Jane Smith",
    "email": "jane@example.com",
    "company": "Tech Corp"
  },
  "created_at": "2024-01-20T15:45:00Z"
}
}