---
title: "GET /operations/user/{userId}"
method: GET
path: "/operations/user/{userId}"
tags: ["Operations/User"]
---

# GET /operations/user/{userId}

`GET /operations/user/{userId}`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/user/{userId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/user/:userId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `userId` integer, required

## Response `200`

Successful

- object
  - `data` OperationsUserSchema, required
    - `id` integer, required
    - `email` string, nullable, required
    - `name` string, nullable, required
    - `position` string, nullable, required
    - `spend` string, nullable, required
    - `goal` string, nullable, required
    - `subscriptionPlan` 'FREE' | 'STARTUP' | 'BUSINESS' | 'PROFESSIONAL', required
    - `subscriptionStatus` 'TRIAL' | 'ACTIVE' | 'CANCELLED', required
    - `subscriptionExpiresAt` string, date-time, nullable, required
    - `subscriptionAnnual` boolean, nullable, required
    - `subscriptionSkipped` boolean, required

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
