Skip to main content
GET
Get Sessions
List past sessions for the authenticated user, newest first — useful for building a session-history screen. Cancelled and archived sessions are excluded. Two ways to use it:
  • User history (default) — all sessions created by the calling user. Pass count to cap how many are returned.
  • Patient history — pass ?oid=<patient_oid> to fetch sessions of a specific patient (up to 10 by default — override with count).
Each item’s txn_id is the session ID — use it with Get Session, Get Session Audio or List Session Documents.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

count
integer

Number of latest sessions to fetch.

Required range: x >= 1
oid
string

Patient OID. When provided, returns that patient's sessions (default 10) instead of the user's full history.

Response

Sessions retrieved, newest first

status
string
Example:

"success"

data
object[]

Sessions, newest first.

retrieved_count
integer

Number of sessions returned.

Example:

2