---
title: "Get me"
method: GET
path: "/api/users/me"
tags: ["Users"]
---

# Get me

`GET /api/users/me`

Returns information about the user that is currently logged in together with information of it's organization.

## Response `200`

OK

- Me — Information about the user that is currently logged in.
  - `id` string, uuid — Unique identifier for the user.
  - `providerId` string, uuid, nullable — Identifier for the provider the user belongs to.
  - `providerType` string, nullable — Type of the provider the user belongs to. `None` or `External`.
  - `userName` string, nullable — Username of the user.
  - `email` string, nullable — Email address of the user.
  - `fullName` string, nullable — Full name of the user.
  - `twoFactorProvider` string, nullable — Two factor provider used by the user. Can be `None` or `External`.
  - `organizationId` string, uuid — Identifier for the organization the user belongs to.
  - `lastLoggedIn` string, date-time — Date and time when the user last logged in.
  - `createdAt` string, date-time — Date and time when the user was created.
  - `receiveEmailAlerts` boolean — If the user should receive email alerts.
  - `organization` OrganizationViewModelForUser — Information about the organization the user belongs to.
    - `id` string, uuid — Unique identifier for the organization.
    - `name` string, nullable — Name of the organization.
    - `createdAt` string, date-time — Date and time when the organization was created.
    - `lastLoggedIn` string, date-time — Date and time when the user last logged in.
    - `contactInformation` OrganizationContactInformation — Information about the organization contact information.
      - `email` string, nullable — Email address of the organization.
      - `phoneNumber` string, nullable — Phone number of the organization.
      - `country` string, nullable — Country of the organization.
    - `subscription` EdgedirectorSubscription — Information about the EdgeDirector subscription.
      - `organizationId` string, uuid — Identifier for the organization the subscription belongs to.
      - `type` string, nullable — Type of the subscription.
      - `validFrom` string, date-time — Date and time when the subscription is valid from.
      - `validTo` string, date-time, nullable — Date and time when the subscription is valid to.
      - `maxNumberOfEdgenodes` integer — Maximum number of nodes that can be used with the subscription. `-1` indicates unlimited.
      - `iiot` boolean — If the subscription is an IIoT subscription.
      - `ipa` boolean — If the subscription is an IPA subscription.
      - `dataLimitInBytes` integer — Data limit in bytes for the subscription. `-1` indicates unlimited.
    - `alertEmailRecipients` string[], nullable — Array of email addresses that should receive alerts.
    - `docker` DockerCredentials — Docker credentials for the user.
      - `username` string, nullable — Username for the docker registry.
      - `password` string, nullable — Password for the docker registry.
  - `iiot` boolean — If the user is an IIoT user.
  - `ipa` boolean — If the user is an IPA user.
  - `organizations` IdAndName[], nullable — Array of organizations the user belongs to.
    - `id` string, uuid — Unique identifier for the organization.
    - `name` string, nullable — Name of the organization.
  - `legalAgreements` string[], nullable — Array of legal agreements the user has accepted.
  - `uiPermissions` string[], nullable — Array of UI permissions the user has.
  - `permissions` AccessPermission[], nullable
    - `version` integer
    - `actions` string[], nullable
    - `conditions` AccessCondition[], nullable
      - `type` string, nullable
      - `variable` string, nullable
      - `value` string[], nullable
    - `resources` string[], nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `503` — Service Unavailable

---

[API](https://skmtc.dev/crosser/apis/edge-director-api.md) · [All operations](https://skmtc.dev/crosser/apis/edge-director-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crosser/edge-director-api/revisions/746b3f44e69d/schema)
