---
search:
  tags:
    - Auth
    - GET
seo:
  description: >-
    Any signed in user. Returns the caller's id, email, name, role, and branch.
    The branch… Reference for the GET /api/v1/auth/me endpoint in the PharmaFlow
    API.
sidebar:
  label: Read the signed in user
  badge: GET
title: Read the signed in user
type: openapi-operation
---
Any signed in user. Returns the caller's id, email, name, role, and branch. The branch comes from the session, so it needs no lookup and cannot be pointed at another till.

`GET /api/v1/auth/me`

**Responses**

- `200` — The caller
- `401` — Not authenticated

Response example, 200:

```json
{
  "user_id": "string",
  "email": "string",
  "full_name": "string",
  "role": "string",
  "branch_id": "string",
  "branch_name": "string"
}
```
