---
title: "Retrieve a user profile"
method: GET
path: "/userinfo"
tags: ["Authentication"]
---

# Retrieve a user profile

`GET /userinfo`

Use this endpoint to retrieve a user's profile in case you are unable to parse an ID Token or you've not already obtained enough details from the ID Token via the Token Endpoint.

## Response `200`

UserInfo response

- UserInfo — OIDC UserInfo structure
  - `sub` string, required
  - `name` string
  - `given_name` string
  - `family_name` string
  - `email` string
  - `email_verified` boolean
  - `phone_number` string
  - `phone_number_verified` boolean
  - `address` Address — OIDC Address structure
    - `street_address` string
    - `locality` string
    - `region` string
    - `postal_code` string
    - `country` string
  - `aq:location` object — Geolocation structure
    - `latitude` number, float
    - `longitude` number, float
    - `address` Address — OIDC Address structure
      - `street_address` string
      - `locality` string
      - `region` string
      - `postal_code` string
      - `country` string

## Other responses

- `401` — OAuth 2.0 error response
- `default` — OAuth 2.0 error response

## Changes

- **2017-04-04** `fc527369c17b` — 2 info
  - the endpoint scheme security `oauth_code` was added to the API
  - the endpoint scheme security `oauth_implicit` was added to the API
- **2017-03-12** `b676b502c30b` — 2 info
  - the endpoint scheme security `oauth_code` was removed from the API
  - the endpoint scheme security `oauth_implicit` was removed from the API
- **2017-03-12** `517735228177` — 1 warning
  - the optional response header `WWW-Authenticate` removed for the status `401`

[Change history](https://skmtc.dev/authentiqid/apis/authentiq-connect-api/changes/userinfo/get.md)

---

[API](https://skmtc.dev/authentiqid/apis/authentiq-connect-api.md) · [All operations](https://skmtc.dev/authentiqid/apis/authentiq-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authentiqid/authentiq-connect-api/revisions/a1689e8baa23/schema)
