Skip to main content

Get List Items

The items are returned ordered by their index. You can reorder the items in a list as needed. By default, the order index is assigned incrementally.

GET/v1/list/{id}/items

Properties

NameTypeRequiredDescription
idtextID of the list.
sizenumberSize of item will returned, default value is 4.
pagenumberPage, used for pagination, default value is 1.
order_bystringOrder by, used for ordering the items, default value is 'created_at'. Can be 'created_at', 'updated_at' or 'title'
order_dirstringOrder direction, used for ordering the items, default value is 'desc'. Can be 'asc' or 'desc'

Example

/v1/list/2ESKXnnCy/items

CURL Example

curl -X GET "https://api-integrations.snackprompt.com/v1/list/{id}/items" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"