TODO: Resource-level docs
Update an existing Interaction.
Path parameters
-
The Interaction Sid for this channel.
Minimum length is
34, maximum length is34. Format should match the following pattern:^KD[0-9a-fA-F]{32}$. -
The unique string created by Twilio to identify an Interaction Channel resource.
Minimum length is
34, maximum length is34. Format should match the following pattern:^UO[0-9a-fA-F]{32}$.
POST
/v1/Interactions/{InteractionSid}/Channels/{Sid}
curl \
--request POST 'https://flex-api.twilio.com/v1/Interactions/{InteractionSid}/Channels/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Status=close'
Response examples (200)
{
"interaction_sid": "string",
"links": {},
"sid": "string",
"type": "voice",
"url": "https://example.com"
}