---
title: "Get user profile"
method: GET
path: "/user/profile"
tags: ["user APIs"]
---

# Get user profile

`GET /user/profile`

Returns the profile for the logged in user

## Response `200`

successful operation

- UserProfile
  - `email` string, email
  - `description` string
  - `allow_api_key_auth` boolean — If enabled, you can impersonate this user, in REST API, using an API key. If disabled user credentials are required for impersonation
  - `public_keys` string[]

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `default` — Unexpected Error

---

[API](https://skmtc.net/kanton-bern/apis/sftpgo.md) · [All operations](https://skmtc.net/kanton-bern/apis/sftpgo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kanton-bern/sftpgo/versions/d8d616a479b0/schema)
