curl -X POST https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{"company": "Acme", "score": 92, "status": "qualified"},
{"company": "Beta", "score": 70, "status": "new"}
]'
{
"rows": [
{
"id": "row_abc123xyz789",
"company": "Acme",
"score": 92,
"status": "qualified",
"_meta": {
"created_at": "2024-01-15T10:35:00Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:00Z",
"updated_by": "api:Production Key"
}
},
{
"id": "row_def456uvw000",
"company": "Beta",
"score": 70,
"status": "new",
"_meta": {
"created_at": "2024-01-15T10:35:01Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:01Z",
"updated_by": "api:Production Key"
}
}
]
}
Insert one or more rows into a table
curl -X POST https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{"company": "Acme", "score": 92, "status": "qualified"},
{"company": "Beta", "score": 70, "status": "new"}
]'
{
"rows": [
{
"id": "row_abc123xyz789",
"company": "Acme",
"score": 92,
"status": "qualified",
"_meta": {
"created_at": "2024-01-15T10:35:00Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:00Z",
"updated_by": "api:Production Key"
}
},
{
"id": "row_def456uvw000",
"company": "Beta",
"score": 70,
"status": "new",
"_meta": {
"created_at": "2024-01-15T10:35:01Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:01Z",
"updated_by": "api:Production Key"
}
}
]
}
row_abc123xyz789)created_at, created_by, updated_at, updated_by)curl -X POST https://api.crewship.dev/v1/tables/tbl_abc123xyz789/rows \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{"company": "Acme", "score": 92, "status": "qualified"},
{"company": "Beta", "score": 70, "status": "new"}
]'
{
"rows": [
{
"id": "row_abc123xyz789",
"company": "Acme",
"score": 92,
"status": "qualified",
"_meta": {
"created_at": "2024-01-15T10:35:00Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:00Z",
"updated_by": "api:Production Key"
}
},
{
"id": "row_def456uvw000",
"company": "Beta",
"score": 70,
"status": "new",
"_meta": {
"created_at": "2024-01-15T10:35:01Z",
"created_by": "api:Production Key",
"updated_at": "2024-01-15T10:35:01Z",
"updated_by": "api:Production Key"
}
}
]
}