Fetch member
Users joined to specific channels
Path parameters
-
The SID of the Service to fetch the resource from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
The unique ID of the Channel the member to fetch belongs to. Can be the Channel resource's
sid
orunique_name
value. -
The Twilio-provided string that uniquely identifies the Member resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^MB[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}
curl \
--request GET 'https://chat.twilio.com/v1/Services/{ServiceSid}/Channels/{ChannelSid}/Members/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://chat.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Members/MBaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "jing",
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2016-03-24T21:05:50Z",
"date_updated": "2016-03-24T21:05:50Z",
"last_consumption_timestamp": null,
"last_consumed_message_index": null
}