Hanzo
OpenapiIam

Returns the profile claims for whoever the access token belongs to — the… — GET /v1/iam/oauth/userinfo

Returns the profile claims for whoever the access token belongs to — the standard OpenID Connect way to find out who is calling you without your…

GET /v1/iam/oauth/userinfo

Addresshttps://api.hanzo.ai/v1/iam/oauth/userinfo
MethodGET
Operationget_iam_oauth_userinfo
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the profile claims for whoever the access token belongs to — the standard OpenID Connect way to find out who is calling you without your application storing anything itself.

The token must still be live: revoke it and this stops answering.

Request

GET /v1/iam/oauth/userinfo takes no parameters and no body — the credential is the whole request.

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo iam oauth userinfo get

IAM API · All Hanzo APIs · Interactive reference

How is this guide?

On this page