---
title: "Get profile"
method: GET
path: "/oauth/userinfo"
tags: ["OAuth"]
---

# Get profile

`GET /oauth/userinfo`

## Response `200`

Success

- object
  - `id` string
  - `email` string
  - `firstName` string
  - `lastName` string
  - `roles` string[]
  - `groups` string[]
  - `raw` object
  - `requested` object

## Changes

- **2025-02-05** `f02a45abeffc` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2024-12-22** `d49c203898c2` — 1 breaking
  - removed the media type `application/json` for the response with the status `200`

[Change history](https://skmtc.dev/ory/apis/enterprise-sso-directory-sync/changes/oauth/userinfo/get.md)

---

[API](https://skmtc.dev/ory/apis/enterprise-sso-directory-sync.md) · [All operations](https://skmtc.dev/ory/apis/enterprise-sso-directory-sync/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ory/enterprise-sso-directory-sync/revisions/d92c991ace28/schema)
