GET
/
client
/
user
/
{id}
Obter um usuário do cliente por ID
curl --request GET \
  --url https://simpleapi.com.br/api/v1/client/user/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "68194cb9de0efdd31958a456908",
  "email": "maria@email.com",
  "name": "Maria Oliveira",
  "roles": [
    "viewer",
    "adm"
  ],
  "metadata": {
    "field": "abcde",
    "field1": "abcde",
    "field2": "abcde"
  },
  "is_active": true,
  "created_at": "2025-05-05T23:41:45.619Z",
  "updated_at": "2025-05-05T23:41:45.619Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID do usuário do cliente

Response

Dados do usuário do cliente

id
string
Example:

"68194cb9de0efdd31958a456908"

email
string
Example:

"maria@email.com"

name
string
Example:

"Maria Oliveira"

roles
string[]
Example:
["viewer", "adm"]
metadata
object
Example:
{
"field": "abcde",
"field1": "abcde",
"field2": "abcde"
}
is_active
boolean
Example:

true

created_at
string
Example:

"2025-05-05T23:41:45.619Z"

updated_at
string
Example:

"2025-05-05T23:41:45.619Z"