Fetch a specific Session
TODO: Resource-level docs
Fetch a specific Session.
Path parameters
-
The SID of the parent Service of the resource to fetch.
-
The Twilio-provided string that uniquely identifies the Session resource to fetch.
GET /v1/Services/{ServiceSid}/Sessions/{Sid}
curl \
-X GET https://proxy.twilio.com/v1/Services/{ServiceSid}/Sessions/{Sid} \
--user "username:password"
Response examples (200)
{
"account_sid": "string",
"closed_reason": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_ended": "2023-05-04T09:42:00+00:00",
"date_expiry": "2023-05-04T09:42:00+00:00",
"date_last_interaction": "2023-05-04T09:42:00+00:00",
"date_started": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"links": {},
"mode": "message-only",
"service_sid": "string",
"sid": "string",
"status": "open",
"ttl": 42,
"unique_name": "string",
"url": "https://example.com"
}
Response examples (200)
{
"account_sid": "string",
"closed_reason": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_ended": "2024-05-04T09:42:00+00:00",
"date_expiry": "2024-05-04T09:42:00+00:00",
"date_last_interaction": "2024-05-04T09:42:00+00:00",
"date_started": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"links": {},
"mode": "message-only",
"service_sid": "string",
"sid": "string",
"status": "open",
"ttl": 42,
"unique_name": "string",
"url": "https://example.com"
}