The Twilio Chat REST API provides programmatic access to create, read, update, and delete chat services, channels, messages, members, users, invites, roles, and credentials for building chat-enabled applications.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
ChannelSid(path, required) — The SID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the resources to read belong to.
Identity(query) — The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the members to read belong to. Can be the Channel resource's `sid` or `unique_name` value.
Identity(query) — The [User](https://www.twilio.com/docs/api/chat/rest/v1/user)'s `identity` value of the resources to read. See [access tokens](https://www.twilio.com/docs/api/chat/guides/create-tokens) for more details.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to create the resource under.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the new member belongs to. Can be the Channel resource's `sid` or `unique_name`.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to delete the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the message belongs to. Can be the Channel's `sid` or `unique_name`.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Member resource to delete.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the member to fetch belongs to. Can be the Channel resource's `sid` or `unique_name` value.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Member resource to fetch.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to update the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the member to update belongs to. Can be the Channel resource's `sid` or `unique_name`.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Member resource to update.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the message to read belongs to. Can be the Channel's `sid` or `unique_name`.
Order(query) — The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending) with `asc` as the default.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to create the resource under.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the new resource belongs to. Can be the Channel resource's `sid` or `unique_name`.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to delete the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the message to delete belongs to. Can be the Channel resource's `sid` or `unique_name`.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Message resource to delete.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the message to fetch belongs to. Can be the Channel's `sid` or `unique_name`.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Message resource to fetch.
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to update the resource from.
ChannelSid(path, required) — The unique ID of the [Channel](https://www.twilio.com/docs/api/chat/rest/channels) the message belongs to. Can be the Channel's `sid` or `unique_name`.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Message resource to update.
DELETE
/v1/Services/{ServiceSid}/Channels/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to delete the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Channel resource to delete.
GET
/v1/Services/{ServiceSid}/Channels/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Channel resource to fetch.
POST
/v1/Services/{ServiceSid}/Channels/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to update the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Channel resource to update.
GET
/v1/Services/{ServiceSid}/Roles
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/v1/Services/{ServiceSid}/Roles
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to create the resource under.
DELETE
/v1/Services/{ServiceSid}/Roles/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to delete the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Role resource to delete.
GET
/v1/Services/{ServiceSid}/Roles/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Role resource to fetch.
GET
/v1/Services/{ServiceSid}/Users
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to read the resources from.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
Page(query, page) — The page index. This value is simply for client state.
PageToken(query) — The page token. This is provided by the API.
POST
/v1/Services/{ServiceSid}/Users
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to create the resource under.
DELETE
/v1/Services/{ServiceSid}/Users/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to delete the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the User resource to delete.
GET
/v1/Services/{ServiceSid}/Users/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to fetch the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the User resource to fetch.
POST
/v1/Services/{ServiceSid}/Users/{Sid}
ServiceSid(path, required) — The SID of the [Service](https://www.twilio.com/docs/api/chat/rest/services) to update the resource from.
Sid(path, required) — The Twilio-provided string that uniquely identifies the User resource to update.