---
search:
  tags:
    - Sessions
    - GET
seo:
  description: >-
    Any signed in user. Returns the session the caller has open at this branch,
    or… Reference for the GET /api/v1/sessions/current endpoint in the
    PharmaFlow API.
sidebar:
  label: Read the caller's open session
  badge: GET
title: Read the caller's open session
type: openapi-operation
---
Any signed in user. Returns the session the caller has open at this branch, or null. The lookup is scoped to the caller and branch, so a till never sees another till's session.

`GET /api/v1/sessions/current`

**Responses**

- `200` — The open session, or a null session when none is open
- `401` — Not authenticated

Response example, 200:

```json
{
  "id": "string",
  "user_id": "string",
  "branch_id": "string",
  "opening_float": "string",
  "status": "string",
  "break_minutes": -9007199254740991,
  "opened_at": "string",
  "closed_at": "string",
  "total_sales": -9007199254740991,
  "total_revenue": "string",
  "total_vat": "string",
  "payment_breakdown": "string"
}
```
