ConversationsBinding
List Service Binding
Retrieve a list of all push notification bindings in the conversation service
Authorization
accountSid_authToken AuthorizationBasic <token>
In: header
Path Parameters
ChatServiceSid*string
The SID of the Conversation Service the Binding resource is associated with.
Match
^IS[0-9a-fA-F]{32}$Length
34 <= length <= 34Query Parameters
BindingType?array<>
The push technology used by the Binding resources to read. Can be: apn, gcm, fcm, or twilsock. See push notification configuration for more info.
Identity?array<string>
The identity of a Conversation User this binding belongs to. See access tokens for more details.
PageSize?integer
How many resources to return in each list page. The default is 50, and the maximum is 100.
Format
int64Range
1 <= value <= 100Page?integer
The page index. This value is simply for client state.
Range
0 <= valuePageToken?string
The page token. This is provided by the API.
Response Body
application/json
curl -X GET "https://example.com/v1/Services/stringstringstringstringstringstri/Bindings"{ "meta": { "page": 0, "page_size": 50, "first_page_url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0", "previous_page_url": null, "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings?PageSize=50&Page=0", "next_page_url": null, "key": "bindings" }, "bindings": [ { "sid": "BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "chat_service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "date_created": "2016-10-21T11:37:03Z", "date_updated": "2016-10-21T11:37:03Z", "endpoint": "TestUser-endpoint", "identity": "TestUser", "binding_type": "gcm", "credential_sid": "CRaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "message_types": [ "removed_from_conversation", "new_message", "added_to_conversation" ], "url": "https://conversations.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Bindings/BSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" } ]}