Path parameters
-
The SID of the WebChannel resource to update.
Body
-
ChatStatus string
The chat status. Can only be
inactive
.Value is
inactive
. -
PostEngagementData string
The post-engagement data.
POST /v1/WebChannels/{Sid}
curl \
-X POST https://flex-api.twilio.com/v1/WebChannels/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'ChatStatus=inactive&PostEngagementData=string'
Request example
{
"ChatStatus": "inactive",
"PostEngagementData": "string"
}
Request examples
{
"ChatStatus": "inactive",
"PostEngagementData": "string"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"flex_flow_sid": "string",
"sid": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"flex_flow_sid": "string",
"sid": "string",
"url": "https://example.com"
}