TODO: Resource-level docs
Add a Participant to a Channel.
Path parameters
-
The Interaction Sid for the new Channel Participant.
Minimum length is
34, maximum length is34. Format should match the following pattern:^KD[0-9a-fA-F]{32}$. -
The Channel Sid for the new Channel Participant.
Minimum length is
34, maximum length is34. Format should match the following pattern:^UO[0-9a-fA-F]{32}$.
POST
/v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Participants
curl \
--request POST 'https://flex-api.twilio.com/v1/Interactions/{InteractionSid}/Channels/{ChannelSid}/Participants' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Type=supervisor'
Response examples (201)
{
"channel_sid": "string",
"interaction_sid": "string",
"sid": "string",
"type": "supervisor",
"url": "https://example.com"
}