POST
/
api
/
v1
/
list-entries
/
{listId}
/
query
curl --request POST \
  --url https://api.zixflow.com/api/v1/list-entries/{listId}/query \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "filter": [
    {}
  ],
  "sort": [
    {}
  ],
  "limit": 123,
  "offset": 123
}'
{
    "status": true,
    "message": "List Entries fetched successfully",
    "data": [
        {
            "_id": "65321b9a05ca4dc48ed8b231",
            "owner": {
                "_id": "63d0e0b2eaa35b73f3b23450",
                "name": "Test User",
                "avatar": "",
                "email": "test@outlook.com"
            },
            "createdAt": "2023-10-20T06:18:02.403Z",
            "apiPipeline3": null
        }
    ]
}

Description

This API endpoint enables the retrieval of list entries. The structure of the list entries is dynamic and varies depending on the list and attributes, with no fixed response keys within the data.

Path

listId
string
required

A unique identifier for the list.

Body

filter
array

An array that will eventually allow users to define specific criteria for filtering data. Currently, it is an empty array, indicating that no filtering is applied at this time.

sort
array

An array that will eventually enable users to specify sorting criteria for the data. Like the filter array, it is currently empty, implying that no sorting is applied in the current context.

limit
number
required

he number of entries to be returned, set to 10 in this instance. This parameter restricts the response to a specific quantity of entries.

offset
number
required

The starting point from which the entries are to be fetched within the entire dataset. In this case, it is set to 0, indicating that retrieval should commence from the beginning of the dataset.

Response

status
boolean

Indicates the success or failure of the response. In this case, true signifies a successful operation.

message
string

Provides a human-readable message accompanying the response. In this instance, it confirms the successful retrieval of the entries with the message “List Entries fetched successfully”

data
array_object

The structure of the list entries is dynamic and varies depending on the list and attributes, with no fixed response keys within the data.