Query parameters
-
The string that identifies the Service resources to read.
-
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
/v1/Services
curl \
--request GET 'https://notify.twilio.com/v1/Services' \
--user "username:password"
Response examples (200)
Read full
{
"meta": {
"key": "services",
"url": "https://notify.twilio.com/v1/Services?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://notify.twilio.com/v1/Services?PageSize=50&Page=0",
"previous_page_url": null
},
"services": [
{
"sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "S",
"links": {
"users": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Users",
"bindings": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings",
"segments": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Segments",
"notifications": "https://notify.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications"
},
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"log_enabled": true,
"date_created": "2016-03-09T20:22:31Z",
"date_updated": "2016-03-09T20:22:31Z",
"friendly_name": "733c7f0f-6541-42ec-84ce-e2ae1cac588c",
"alexa_skill_id": null,
"apn_credential_sid": null,
"fcm_credential_sid": null,
"gcm_credential_sid": null,
"delivery_callback_url": "Hello",
"messaging_service_sid": "MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"delivery_callback_enabled": true,
"facebook_messenger_page_id": "4",
"default_apn_notification_protocol_version": "3",
"default_fcm_notification_protocol_version": "3",
"default_gcm_notification_protocol_version": "3",
"default_alexa_notification_protocol_version": "3"
}
]
}
{
"meta": {
"key": "services",
"url": "https://notify.twilio.com/v1/Services?PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://notify.twilio.com/v1/Services?PageSize=50&Page=0",
"previous_page_url": null
},
"services": []
}