Path parameters
-
The SID of the Sync Service with the Map Item resources to read.
-
The SID of the Sync Map with the Sync Map Item resource to fetch. Can be the Sync Map resource's
sid
or itsunique_name
.
Query parameters
-
Order string
How to order the Map Items returned by their
key
value. Can be:asc
(ascending) ordesc
(descending) and the default is ascending. Map Items are ordered lexicographically by Item key.Values are
asc
ordesc
. -
From string
The
key
of the first Sync Map Item resource to read. See alsobounds
. -
Bounds string
Whether to include the Map Item referenced by the
from
parameter. Can be:inclusive
to include the Map Item referenced by thefrom
parameter orexclusive
to start with the next Map Item. The default value isinclusive
.Values are
inclusive
orexclusive
. -
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
curl \
-X GET https://sync.twilio.com/v1/Services/{ServiceSid}/Maps/{MapSid}/Items \
--user "username:password"
{
"items": [
{
"account_sid": "string",
"created_by": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_expires": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"key": "string",
"map_sid": "string",
"revision": "string",
"service_sid": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
{
"items": [
{
"account_sid": "string",
"created_by": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_expires": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"key": "string",
"map_sid": "string",
"revision": "string",
"service_sid": "string",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}