Docs
post https://console.iugu.com/userinfo

Get authenticated user info

Same as the GET variant; returns the OpenID Connect claims for the access token subject.

Sem ações implementadas definidas

Request

Response

200

Success

sub
String

Ex: user:3W3pZX7CxbPGjC8WDTmunA

name
String

Ex: User One

given_name
String

Ex: User

middle_name
String

Ex:

family_name
String

Ex: One

picture
String

URL of the user's avatar, when present.

email
String

Ex: [email protected]

email_verified
Boolean

Ex: true

phone_number
String

Ex: 991552277

phone_number_verified
Boolean

Ex: true

zoneinfo
String

Ex: America/Sao_Paulo

iugu_current_workspace_id
String

Ex: 2hjQ4fyIJuqcVcJOJjuh9S

updated_at
Integer

Last update time as a Unix timestamp.

Ex: 1718910528

locale
String

Ex: pt-BR

Example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "sub": "user:3W3pZX7CxbPGjC8WDTmunA",
  "name": "User One",
  "given_name": "User",
  "middle_name": "",
  "family_name": "One",
  "picture": "<PICTURE>",
  "email": "[email protected]",
  "email_verified": true,
  "phone_number": 991552277,
  "phone_number_verified": true,
  "zoneinfo": "America/Sao_Paulo",
  "iugu_current_workspace_id": "2hjQ4fyIJuqcVcJOJjuh9S",
  "updated_at": 1718910528,
  "locale": "pt-BR"
}

401

Unauthorized

error_description
String

Human readable error message.

Ex: Param workspace_id is required

Example
1
2
3
{
  "error_description": "Param workspace_id is required"
}

404

Not Found

error_description
String

Human readable error message.

Ex: Param workspace_id is required

Example
1
2
3
{
  "error_description": "Param workspace_id is required"
}