---
title: "User Profile"
method: GET
path: "/api/external/v2/me"
tags: ["Users"]
---

# User Profile

`GET /api/external/v2/me`

This endpoint returns information about the company and the user associated to the token.

## Response `200`

Returns the user and the company

- object
  - `user` object, nullable, required
    - `id` integer, required
    - `first_name` string, required
    - `last_name` string, required
    - `email` string, email, required
    - `locale` 'fr' | 'en' | 'de', required
  - `company` object, required
    - `id` integer, required
    - `name` string, required
    - `reg_no` string, required
    - `accounting_logic` 'FR_PCG' | 'FR_AGRICULTURE' | 'FR_NON_PROFIT' | 'FR_NOTARY' | 'DE_SKR03' | 'DE_SKR04', required — Chart of accounts framework used by the company.
  - `scopes` string[], required — OAuth scopes associated with the access token

## Other responses

- `400` — Bad request
- `401` — Access token is missing or invalid
- `403` — Access to this resource forbidden

---

[API](https://skmtc.net/pennylane/apis/company-v2.md) · [All operations](https://skmtc.net/pennylane/apis/company-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pennylane/company-v2/versions/a5b7236473c6/schema)
