> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ofauth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# User info

> Read the OFAuth identity of the person who approved access.

Request `identity:read` during [authorization](https://docs.ofauth.com/v3/api-reference/link/authorize.md) to read the consenting person's OFAuth profile. This identity is separate from their OnlyFans accounts. It stays the same when they change the creator accounts they share.

```http theme={null}
GET https://api.ofauth.com/v3/link/userinfo
Authorization: Bearer <access_token>
```

Use the SDK to read it:

```typescript theme={null}
const person = await client.link.getUserinfo()
console.log(person.sub, person.name, person.email)
```

| Field | Meaning |
| - | - |
| `id` | Stable owner identity, equal to `sub`. |
| `sub` | The person's stable OFAuth profile ID. Use this to identify them. |
| `name` | Display name. |
| `email` | Present only when known and permitted. |
| `email_verified` | Actual verification state, never fabricated for an adapter. |
| `picture` | Profile image URL, or `null`. |

A person can approve identity access without sharing a creator account. An email address or a creator account ID is not a substitute for `sub` when identifying the person.

The endpoint requires a current access token with `identity:read`. Missing identity consent returns `403` with a `WWW-Authenticate` challenge. Use [Better Auth](https://docs.ofauth.com/v3/sdk/better-auth.md) to add OFAuth sign-in to an app that already uses it.

Identity-only consent needs no provider account. Guest API delegation remains supported without signup or invented email. If a profile-based adapter cannot support the guest identity, complete the supported identity step or fail explicitly.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.