---
title: "Retrieve call session by ID."
method: GET
path: "/sessions/{id}"
tags: ["Call Session"]
---

# Retrieve call session by ID.

`GET /sessions/{id}`

Retrieve details of call sessions by it's ID.

## Path parameters

- `id` string, required — The unique ID of the resource.

## Response `200`

OK

- object
  - `id` string — The unique ID of the resource.
  - `calls` object[]
    - `caller` string — The caller number of the call.
    - `caller_display_name` string — The caller display name of the call.
    - `callee` string — The callee number of the call.
    - `trunk` string — The name of the trunk.
    - `started_at` string, date_time — The RFC 3339 format is defined by The date_time notation as defined by [RFC 3339, section 5.6](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6), for example, 2017-07-21T17:32:28Z
    - `talking_time` integer — The duration of the call session in seconds.

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
