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.
The User Binding resource provides access to Binding resources that is scoped to a single User.
Each User Binding resource contains these properties.
The date and time in GMT when the resource was created specified in ISO 8601 format.
The date and time in GMT when the resource was last updated specified in ISO 8601 format.
The unique endpoint identifier for the User Binding. The format of the value depends on the binding_type
.
The application-defined string that uniquely identifies the resource's User within the Service. See access tokens for more info.
The SID of the User with the User Binding resource. See push notification configuration for more info.
The SID of the Credential for the binding. See push notification configuration for more info.
The push technology to use for the User Binding. Can be: apn
, gcm
, or fcm
. See push notification configuration for more info.
gcm
apn
fcm
The absolute URL of the User Binding resource.
GET https://chat.twilio.com/v2/Services/{ServiceSid}/Users/{UserSid}/Bindings/{Sid}
The {UserSid}
value can be either the sid
or the identity
of the User resource to fetch the User Binding resource from.
The SID of the User with the User Binding resource to fetch. See push notification configuration for more info.
GET https://chat.twilio.com/v2/Services/{ServiceSid}/Users/{UserSid}/Bindings
The {UserSid}
value can be either the sid
or the identity
of the User resource to read User Binding resources from.
The SID of the User with the User Binding resources to read. See push notification configuration for more info.
The push technology used by the User Binding resources to read. Can be: apn
, gcm
, or fcm
. See push notification configuration for more info.
gcm
apn
fcm
How many resources to return in each list page. The default is 50, and the maximum is 1000.
DELETE https://chat.twilio.com/v2/Services/{ServiceSid}/Users/{UserSid}/Bindings/{Sid}
The {UserSid}
value can be either the sid
or the identity
of the User resource to delete the User Channel resource from.
The SID of the User with the User Binding resources to delete. See push notification configuration for more info.