Path parameters
-
The SID of the Interaction resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KD[0-9a-fA-F]{32}$
.
POST
/v1/Interactions/{Sid}
curl \
--request POST 'https://flex-api.twilio.com/v1/Interactions/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'WebhookTtid=flex_interactionwebhook_01jke8z8vte4ette30t5w9h081'
Request example
{"WebhookTtid"=>"flex_interactionwebhook_01jke8z8vte4ette30t5w9h081"}
Response examples (200)
{
"sid": "KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://flex-api.twilio.com/v1/Interactions/KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"links": {
"channels": "https://flex-api.twilio.com/v1/Interactions/KDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Channels"
},
"channel": {
"sid": "UOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"type": "sms"
},
"routing": null,
"webhook_ttid": "flex_interactionwebhook_01jke8z8vte4ette30t5w9h081",
"interaction_context_sid": null
}