Update an existing Interaction
TODO: Resource-level docs
Update an existing Interaction.
Path parameters
-
The Interaction Sid for this channel.
-
The unique string created by Twilio to identify an Interaction Channel resource.
Body
-
The Interaction Channel's routing parameters. Optional, may contain
status
to set the agent's Reservation state to eitherclosed
orwrapup
. Default iswrapup
if unspecified. -
The Interaction Channel's status. Can be:
closed
orwrapup
.Values are
close
,closed
, orwrapup
.
POST /v1/Interactions/{InteractionSid}/Channels/{Sid}
curl \
-X POST https://flex-api.twilio.com/v1/Interactions/{InteractionSid}/Channels/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Status=close'
Request example
{
"Status": "close"
}
Request examples
{
"Status": "close"
}
Response examples (200)
{
"interaction_sid": "string",
"links": {},
"sid": "string",
"type": "voice",
"url": "https://example.com"
}
Response examples (200)
{
"interaction_sid": "string",
"links": {},
"sid": "string",
"type": "voice",
"url": "https://example.com"
}