A Channel resource represents a chat/conversation channel with an ordered list of messages and a participant roster.
Update a specific Channel.
Path parameters
-
The unique SID identifier of the Service.
Minimum length is
34, maximum length is34. Format should match the following pattern:^IS[0-9a-fA-F]{32}$. -
A 34 character string that uniquely identifies this Channel.
Body
-
The unique ID of the Messaging Service this channel belongs to.
Minimum length is
34, maximum length is34. Format should match the following pattern:^MG[0-9a-fA-F]{32}$. -
TThe Type for this Channel to migrate to. Can only be
private. Migration to 'public' is not allowed.Values are
publicorprivate.
POST
/v3/Services/{ServiceSid}/Channels/{Sid}
curl \
--request POST 'https://chat.twilio.com/v3/Services/{ServiceSid}/Channels/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--header "X-Twilio-Webhook-Enabled: true" \
--data 'MessagingServiceSid=string&Type=public'
Response examples (200)
{
"account_sid": "string",
"attributes": "string",
"created_by": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"friendly_name": "string",
"members_count": 42,
"messages_count": 42,
"messaging_service_sid": "string",
"service_sid": "string",
"sid": "string",
"type": "public",
"unique_name": "string",
"url": "https://example.com"
}