Path parameters
-
The SID of the Service to read the resource from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
.
Query parameters
-
Only include usage that has occurred on or after this date. Specify the date in GMT and format as
YYYY-MM-DD
. -
Only include usage that occurred on or before this date. Specify the date in GMT and format as
YYYY-MM-DD
. -
The User's
identity
value of the resources to read. -
Only list Bindings that have all of the specified Tags. The following implicit tags are available:
all
,apn
,fcm
,gcm
,sms
,facebook-messenger
. Up to 5 tags are allowed. -
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
. -
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://notify.twilio.com/v1/Services/{ServiceSid}/Bindings' \
--user "username:password"
{
"meta": {
"key": "bindings",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?Tag=tag&Identity=identity&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?Tag=tag&Identity=identity&PageSize=50&Page=0",
"previous_page_url": null
},
"bindings": []
}
{
"meta": {
"key": "bindings",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?Tag=tag&Identity=identity&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?Tag=tag&Identity=identity&PageSize=50&Page=0",
"previous_page_url": null
},
"bindings": [
{
"sid": "BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings/BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"tags": [
"26607274"
],
"links": {
"user": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/24987039"
},
"address": "a7c658f4111ec4ff5a1a647f9d0edd819025b9f20522d2fae897049f32873e73",
"endpoint": "26607274",
"identity": "24987039",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding_type": "apn",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:00:00Z",
"credential_sid": null,
"notification_protocol_version": "3"
}
]
}