curl --request POST \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 25
}'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {
"limit": 123,
"cursor": "<string>",
"next_cursor": "<string>"
},
"links": {
"next": "<string>",
"prev": "<string>"
}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Query the records in a table
Retrieves the records of the table matching the table_id.
The results are ordered by the orders in the body, which replace the order
the table or view stores; a body that omits them, or that sends the default
id asc, is ordered by the stored one. To page, follow links.next or
links.prev: a link
carries the page token only, so send the same body with it to get the
adjacent page. meta.next_cursor can be passed as the cursor parameter
instead, which is the same value the links carry.
curl --request POST \
--url https://api.zapier.com/tables/v2/tables/{table_id}/records/query \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 25
}'{
"results": [
{
"id": "01563e3a-b5d3-d676-4c61-efb99302bd5b",
"data": {},
"created_at": "2023-11-07T05:31:56Z",
"edited_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"is_source_record": true,
"errors": {}
}
],
"meta": {
"limit": 123,
"cursor": "<string>",
"next_cursor": "<string>"
},
"links": {
"next": "<string>",
"prev": "<string>"
}
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}{
"detail": "<string>",
"code": "<string>",
"meta": {},
"errors": [
{
"title": "<string>",
"status": 123,
"code": "<string>",
"detail": "<string>",
"meta": {}
}
],
"message": "",
"support_id": ""
}Scopes
Path Parameters
Query Parameters
Ignore the filters a view stores, returning the parent table's records instead. Applied only when you can edit the table; otherwise the view's stored filters still apply. Orders are unaffected: the view's stored order still applies unless the body supplies orders of its own
Body
Which records to return, and how many.
Response
Successful Response
A page of the table's records.
Was this page helpful?