---
title: "Retrieves current User Context (Company, Features, Roles, User)"
method: GET
path: "/context"
tags: ["Context"]
---

# Retrieves current User Context (Company, Features, Roles, User)

`GET /context`

User context

## Response `200`

If the User context was retrieved successfully

- Context
  - `user` User
    - `id` string, uuid
    - `username` string, nullable
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `created` string, date-time
    - `modified` string, date-time
    - `lastLogin` string, date-time
    - `isLocked` boolean
  - `company` Company
    - `name` string, nullable
    - `prefix` string, nullable
    - `description` string, nullable
    - `createDate` string, date-time
    - `id` string, uuid
  - `roles` string[], nullable
  - `features` Feature[], nullable
    - `name` string, nullable
    - `description` string, nullable

## Other responses

- `401` — If the user isn't authenticated
- `403` — If the user isn't authorized for such action
- `429` — If the user has sent too many requests

---

[API](https://skmtc.net/prevedere/apis/board-foresight-api-v1.md) · [All operations](https://skmtc.net/prevedere/apis/board-foresight-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prevedere/board-foresight-api-v1/revisions/c5ac8232e334/schema)
