OAuth

OpenID Connect userinfo

Changed on

Claims about the user who authorized this token. Requires the openid scope; name requires profile and email requires email. Per OIDC Core §5.3.2, the response is a flat JSON object of claims — never this API's usual {status, data, message} envelope.

Copy as Markdown Open in ChatGPT Open in Claude

get/v1/oauth/userinfo

Request

  • Base URL
    https://api.assinafy.com.br
  • URL
    https://api.assinafy.com.br/v1/oauth/userinfo
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Response

The user's claims

substring
namestring nullable
emailstring email nullable
email_verifiedboolean nullable

Example response

{
  "sub": "d6zqpbyog2v3xvxerwn8la94",
  "name": "Maria Silva"
}

Changes