---
search:
  tags:
    - Sessions
    - POST
seo:
  description: >-
    Any signed in user. Opens a cash session for the caller's branch with an
    opening… Reference for the POST /api/v1/sessions/open endpoint in the
    PharmaFlow API.
sidebar:
  label: Open a cash session
  badge: POST
title: Open a cash session
type: openapi-operation
---
Any signed in user. Opens a cash session for the caller's branch with an opening float. A till that already has an open session gets that one back, and a missing float reads as zero.

`POST /api/v1/sessions/open`

**Request body** (`application/json`, required)

- `opening_float` (number)

Request body example:

```json
{
  "opening_float": 0
}
```

**Responses**

- `200` — The open session
- `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"
}
```
