---
title: "Return the organization and scopes bound to the current OAuth bearer token."
method: GET
path: "/oauth/identity"
---

# Return the organization and scopes bound to the current OAuth bearer token.

`GET /oauth/identity`

## Request

- Base URL: `https://api.basecite.com`
- URL: `https://api.basecite.com/oauth/identity`
- Auth: OAuth 2 (client credentials, token URL `https://api.basecite.com/oauth/token`)

## Query parameters

- `include_scopes` boolean

## Response `200`

Bound OAuth identity and granted scopes

- ApiResponse
  - `request_id` string
  - `trace_id` string
  - `data` object

## Other responses

- `401`: Valid OAuth bearer token required

---

[API](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api.md) · [All operations](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/llms.txt) · [OpenAPI document](https://skmtc.dev/basecite/apis/basecite-stable-ai-context-api/revisions/2a269a68ba07?raw)
