Path parameters
-
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
.
Query parameters
-
Values are
gcm
,apn
, orfcm
. -
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.
GET
/v2/Services/{ServiceSid}/Bindings
curl \
--request GET 'https://ip-messaging.twilio.com/v2/Services/{ServiceSid}/Bindings' \
--user "username:password"
Response examples (200)
Read full
{
"meta": {
"key": "bindings",
"url": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0",
"previous_page_url": null
},
"bindings": [
{
"sid": "BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings/BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"user": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users/TestUser"
},
"endpoint": "TestUser-endpoint",
"identity": "TestUser",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding_type": "gcm",
"date_created": "2016-10-21T11:37:03Z",
"date_updated": "2016-10-21T11:37:03Z",
"message_types": [
"removed_from_channel",
"new_message",
"added_to_channel",
"invited_to_channel"
],
"credential_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
}
{
"meta": {
"key": "bindings",
"url": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://ip-messaging.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0",
"previous_page_url": null
},
"bindings": []
}