GET

Get OAuth User Info

/api/oauth2/userinfo

Returns the authenticated Hammity user for a valid OAuth2 bearer token.

Authentication

Auth TypeOauth
Scopesidentify email
Rate LimitDefault

Parameters

No parameters documented.

Code Examples

curl -X GET "https://hammity.app/api/v1/api/oauth2/userinfo" \
  -H "Authorization: Bearer YOUR_TOKEN"

Schemas

Request

{}

Response

{
  "id": "1234567890",
  "username": "charleyq",
  "email": "user@example.com"
}

Try It

Response will appear here.