Path parameters
-
The SID of the Sync Service with the List Item resources to read.
-
The SID of the Sync List with the List Items to read. Can be the Sync List resource's
sid
or itsunique_name
.
Query parameters
-
How to order the List Items returned by their
index
value. Can be:asc
(ascending) ordesc
(descending) and the default is ascending.Values are
asc
ordesc
. -
The
index
of the first Sync List Item resource to read. See alsobounds
. -
Whether to include the List Item referenced by the
from
parameter. Can be:inclusive
to include the List Item referenced by thefrom
parameter orexclusive
to start with the next List Item. The default value isinclusive
.Values are
inclusive
orexclusive
. -
How many resources to return in each list page. The default is 50, and the maximum is 100.
Minimum value is
1
, maximum value is100
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
curl \
--request GET 'https://sync.twilio.com/v1/Services/{ServiceSid}/Lists/{ListSid}/Items' \
--user "username:password"
{
"meta": {
"key": "items",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"previous_page_url": null
},
"items": []
}
{
"meta": {
"key": "items",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"previous_page_url": null
},
"items": [
{
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Lists/ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items/100",
"data": {},
"index": 100,
"list_sid": "ESaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"revision": "revision",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_expires": "2015-07-30T21:00:00Z",
"date_updated": "2015-07-30T20:00:00Z"
}
]
}