Programmable Chat Binding Resource
Programmable Chat has been deprecated and is no longer supported. Instead, we'll be focusing on the next generation of chat: Twilio Conversations. Find out more about the EOL process here.
If you're starting a new project, please visit the Conversations Docs to begin. If you've already built on Programmable Chat, please visit our Migration Guide to learn about how to switch.
We recommend following the standard URI specification and avoid the following reserved characters ! * ' ( ) ; : @ & = + $ , / ? % # [ ]
for values such as identity and friendly name.
Binding properties
Each Binding resource contains these properties.
Resource Properties in REST API format | |
---|---|
sid
|
The unique string that we created to identify the Binding resource. |
account_sid
|
The SID of the Account that created the Binding resource. |
service_sid
|
The SID of the Service the Binding resource is associated with. |
date_created
|
The date and time in GMT when the resource was created specified in ISO 8601 format. |
date_updated
|
The date and time in GMT when the resource was last updated specified in ISO 8601 format. |
endpoint
|
The unique endpoint identifier for the Binding. The format of this value depends on the |
identity
|
The application-defined string that uniquely identifies the resource's User within the Service. See access tokens for more info. |
credential_sid
|
The SID of the Credential for the binding. See push notification configuration for more info. |
binding_type
|
The push technology to use for the Binding. Can be: |
message_types
|
The Programmable Chat message types the binding is subscribed to. |
url
|
The absolute URL of the Binding resource. |
links
|
The absolute URLs of the Binding's User. |
Fetch a Binding resource
https://chat.twilio.com/v2/Services/{ServiceSid}/Bindings/{Sid}
Parameters
Parameters in REST API format | |
---|---|
service_sid
Path
|
The SID of the Service to fetch the Binding resource from. |
sid
Path
|
The SID of the Binding resource to fetch. |
Example 1
Read multiple Binding resources
https://chat.twilio.com/v2/Services/{ServiceSid}/Bindings
Parameters
Parameters in REST API format | |
---|---|
service_sid
Path
|
The SID of the Service to read the Binding resources from. |
binding_type
Optional
|
The push technology used by the Binding resources to read. Can be: |
identity
Optional
|
The User's |
Example 1
Delete a Binding resource
https://chat.twilio.com/v2/Services/{ServiceSid}/Bindings/{Sid}
Parameters
Parameters in REST API format | |
---|---|
service_sid
Path
|
The SID of the Service to delete the Binding resource from. |
sid
Path
|
The SID of the Binding resource to delete. |
Example 1
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.