Records
Records are the rows inside a table. The records API supports create, read, update, delete, and rich querying.
Create a record
POST /api/table/<table_id>/records/create
Request body
{
"data": {
"name": "Acme Corp",
"email": "hello@acme.test",
"status": "Active"
}
}
Example
curl -X POST https://infolobby.com/api/table/101/records/create \
-H "Authorization: Bearer il_live_..." \
-H "Content-Type: application/json" \
-d '{"data":{"name":"Acme Corp","email":"hello@acme.test","status":"Active"}}'
Response
The full record with the assigned ID.
Get a record
GET /api/table/<table_id>/record/<record_id>/get
Update a record
POST /api/table/<table_id>/record/<record_id>/update
Request body
{
"data": {
"status": "Archived"
}
}
Only include fields you want to change.
Lookup fields accept either the related record ID or an object with id and title. For example, "user": 2 and "user": {"id": 2, "title": "Andreas"} are both valid.
Delete a record
POST /api/table/<table_id>/record/<record_id>/delete
Query records
POST /api/table/<table_id>/records/query
Request body
{
"fields": ["name", "email", "status"],
"where": {
"status": "Active"
},
"order_by": "name",
"order_dir": "A",
"limit": 50,
"offset": 0
}
Supported where forms:
- Simple equality:
{"status": "Active"} - Comparison:
{"age": [">", 21]}
Or use the more verbose filters array:
{
"filters": [
{"column": "status", "compare": "=", "value": "Active"},
{"column": "age", "compare": ">", "value": 21}
]
}
compare accepts =, !=, <, <=, >, >=.
field may be used instead of column. EQ, NE, NEQ, GT, GTE, LT, LTE, and C are also accepted (C means contains).
Search
{
"search": "acme"
}
Batch delete
POST /api/table/<table_id>/records/delete_batch
{
"record_ids": [1, 5, 12, 39]
}
File fields
File-type fields hold an array of attachment metadata objects. Reading a record returns the full array under each file field. Most callers should manage attachments through the dedicated Files API, which handles upload, append, delete, and download. Use this record/update endpoint with a {name, path, type, size, host} array only when you need to replace the entire attachment list of a field in one call.