Fetch a push notification binding from the conversation service
A Binding resource represents a push notification binding and its configuration, for delivering conversation events to mobile or web endpoints.
Fetch a push notification binding from the conversation service
Path parameters
-
The SID of the Conversation Service the Binding resource is associated with.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
A 34 character string that uniquely identifies this resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^BS[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ChatServiceSid}/Bindings/{Sid}
curl \
--request GET 'https://conversations.twilio.com/v1/Services/{ChatServiceSid}/Bindings/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings/BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"endpoint": "TestUser-endpoint",
"identity": "TestUser",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding_type": "gcm",
"date_created": "2016-10-21T11:37:03Z",
"date_updated": "2016-10-21T11:37:03Z",
"message_types": [
"removed_from_conversation",
"new_message",
"added_to_conversation"
],
"credential_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}