Path parameters
-
The SID of the Service to read the resource from.
Query parameters
-
StartDate string(date)
Only include usage that has occurred on or after this date. Specify the date in GMT and format as
YYYY-MM-DD
. -
EndDate string(date)
Only include usage that occurred on or before this date. Specify the date in GMT and format as
YYYY-MM-DD
. -
Identity array[string]
The User's
identity
value of the resources to read. -
Tag array[string]
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. -
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
.
GET /v1/Services/{ServiceSid}/Bindings
curl \
-X GET https://notify.twilio.com/v1/Services/{ServiceSid}/Bindings \
--user "username:password"
Response examples (200)
{
"bindings": [
{
"account_sid": "string",
"address": "string",
"binding_type": "string",
"credential_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"endpoint": "string",
"identity": "string",
"links": {},
"notification_protocol_version": "string",
"service_sid": "string",
"sid": "string",
"tags": [
"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"
}
}
Response examples (200)
{
"bindings": [
{
"account_sid": "string",
"address": "string",
"binding_type": "string",
"credential_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"endpoint": "string",
"identity": "string",
"links": {},
"notification_protocol_version": "string",
"service_sid": "string",
"sid": "string",
"tags": [
"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"
}
}