Fetch invite
Pending invitations to users to become channel members
Path parameters
-
The SID of the Service to fetch the Invite resource from.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IS[0-9a-fA-F]{32}$
. -
The SID of the Channel the Invite resource to fetch belongs to. This value can be the Channel resource's
sid
orunique_name
. -
The SID of the Invite resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^IN[0-9a-fA-F]{32}$
.
GET
/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}
curl \
--request GET 'https://chat.twilio.com/v2/Services/{ServiceSid}/Channels/{ChannelSid}/Invites/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "INaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://chat.twilio.com/v2/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels/CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Invites/INaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"identity": "identity",
"role_sid": "RLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channel_sid": "CHaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:00:00Z"
}