Skip to main content
GET
/
oauth
/
userinfo
cURL
curl --request GET \
  --url https://api.useanima.sh/v1/oauth/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "<string>",
  "email": "jsmith@example.com",
  "emailVerified": true,
  "name": "<string>",
  "anima": {
    "orgId": "<string>",
    "orgName": "<string>",
    "agentId": "<string>",
    "agentName": "<string>",
    "scopes": [
      "<string>"
    ],
    "grantId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Response

OK

Identity claims for the OAuth-authenticated bearer (OIDC-style)

sub
string
required

Stable user identifier (Clerk user id)

email
string<email> | null
required

Email if available; null otherwise

emailVerified
boolean
required

Whether the email was verified at consent time

name
string | null
required

Display name

anima
object
required