Fetch message interaction
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 SID of the Participant resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^KP[0-9a-fA-F]{32}$
. -
The Twilio-provided string that uniquely identifies the MessageInteraction 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}/Participants/{ParticipantSid}/MessageInteractions/{Sid}
curl \
--request GET 'https://proxy.twilio.com/v1/Services/{ServiceSid}/Sessions/{SessionSid}/Participants/{ParticipantSid}/MessageInteractions/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "KIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://proxy.twilio.com/v1/Services/KSaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Sessions/KCaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Participants/KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/MessageInteractions/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",
"participant_sid": "KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"inbound_resource_sid": null,
"inbound_resource_url": null,
"inbound_resource_type": null,
"outbound_resource_sid": "SMaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"outbound_resource_url": null,
"outbound_resource_type": "Message",
"inbound_participant_sid": null,
"inbound_resource_status": null,
"outbound_participant_sid": "KPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"outbound_resource_status": "sent"
}