---
title: "My user"
method: GET
path: "/user/me"
tags: ["Users"]
---

# My user

`GET /user/me`

This endpoint lets you retrieve all the information about your user

## Query parameters

- `display_business_ids` boolean
- `org_id_custom_fields_permissions` integer

## Response `200`

OK

- object — Partoo App User
  - `id` string — User id
  - `org_id` integer — User organization id
  - `first_name` string — User first name
  - `last_name` string — User last name
  - `email` string, email — User email
  - `lang` 'fr' | 'en' | 'es' | 'it' | 'pt-br' | 'de' | 'ar' | 'nl' | 'pl' | 'cs' | 'ca' | 'sk' | 'pt' | 'lv' | 'ro' | 'bg' | 'hu' — Available language in the application
  - `sidebar_pages` SidebarPagesFeatureEnum[] — List of features the user can access from the sidebar.
  - `available_features` Feature[] — The features the user has access to.
  - `business_ids` BusinessId[] — Populated only for BUSINESS_MANAGER role. List of businesses ids the user can access. Note: For a reliable way of getting all the businesses the user can access, use [operation/searchBusinesses](/api-reference/businesses/search-for-businesses).
  - `accesses` array[] — List of (list of Group ID). Accesses of the users for the new groups system, only for `GROUP_MANAGER` users. See [the Groups and Sections description](/guides/api/resources/organizations/groups)
    - integer[]
  - `role` 'PROVIDER' | 'ORG_ADMIN' | 'ORG_MANAGER' | 'GROUP_MANAGER' | 'BUSINESS_MANAGER' | 'PUBLISHER' — User role in the application
  - `provider` string — User provider label
  - `status` 'active' | 'invited' — User status in the application
  - `disabled` boolean — The state of the User account.
  - `created_at` number — Timestamp representing the date the user was created
  - `shadow_user_id` string — Used internally at Partoo
  - `custom_role` string — Optional API identifier of a custom role to assign to the user. The value must match the `api_id` of one of the custom roles available to your organization. If no custom role is given, users with the role `GROUP_MANAGER` or `BUSINESS_MANAGER` will automatically be assigned to the default built-in custom role associated with their role. For more information about custom roles, see [Managing User Permissions with Custom Roles](/guides/api/guides/custom-roles-and-permissions)
  - `sso_only` boolean — Prevent the user from connecting directly from the Partoo connection page. This field is available for users whose organization has defined an SSO configuration. This field can be edited by a user with the role `ORG_ADMIN` or `PROVIDER`.
  - `permissions` string[] — The permissions the user has access to. For more information about permissions, see the [Custom Roles guide](/guides/api/guides/custom-roles-and-permissions).

## Other responses

- `401` — You are not authenticated

---

[API](https://skmtc.net/partoo/apis/partoo-rest-api.md) · [All operations](https://skmtc.net/partoo/apis/partoo-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/partoo/partoo-rest-api/revisions/3652d8b1a8b3/schema)
