Retrieve a list of Interactions for a given [Session](https://www.twilio.com/docs/proxy/api/session).
Retrieve a list of Interactions for a given Session.
Path parameters
-
The SID of the parent Service of the resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KS[0-9a-fA-F]{32}$
. -
The SID of the parent Session of the resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KC[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the Interaction resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KI[0-9a-fA-F]{32}$
.
GET
/v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions/{Sid}
curl \
--request GET 'https://proxy.twilio.com/v1/Services/{ServiceSid}/Sessions/{SessionSid}/Interactions/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://proxy.twilio.com/v1/Services/KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sessions/KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Interactions/KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"data": "{\"body\":\"some message\"}",
"type": "message",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"session_sid": "KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_updated": "2015-07-30T20:00:00Z",
"inbound_resource_sid": "SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inbound_resource_url": null,
"inbound_resource_type": "Message",
"outbound_resource_sid": "SMbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"outbound_resource_url": null,
"outbound_resource_type": "Message",
"inbound_participant_sid": "KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inbound_resource_status": "sent",
"outbound_participant_sid": "KPbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"outbound_resource_status": "sent"
}