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.
An Invite resource for Programmable Chat represents an invitation for a User (within the Service instance) to join a Channel and become a Member.
Each Invite resource contains these properties.
The application-defined string that uniquely identifies the resource's User within the Service. See access tokens for more info.
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 absolute URL of the Invite resource.
POST https://chat.twilio.com/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
The {ChannelSid}
value can be the Channel's sid
or its unique_name
.
The SID of the Channel the new Invite resource belongs to. This value can be the Channel resource's sid
or unique_name
.
The identity
value that uniquely identifies the new resource's User within the Service. See access tokens for more info.
GET https://chat.twilio.com/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
The {ChannelSid}
value can be the Channel's sid
or its unique_name
.
The SID of the Channel the Invite resource to fetch belongs to. This value can be the Channel resource's sid
or unique_name
.
GET https://chat.twilio.com/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites
The {ChannelSid}
value can be the Channel's sid
or its unique_name
.
The SID of the Channel the Invite resources to read belong to. This value can be the Channel resource's sid
or unique_name
.
The User's identity
value of the resources to read. See access tokens for more details.
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}/Channels/{ChannelSid}/Invites/{Sid}
The {ChannelSid}
value can be the Channel's sid
or its unique_name
.
The SID of the Channel the Invite resource to delete belongs to. This value can be the Channel resource's sid
or unique_name
.