Skip to main content
GET
/
v2
/
users
/
{id}
Get User
curl --request GET \
  --url https://public.api.serval.com/v2/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "name": "<string>",
    "role": "USER_ROLE_UNSPECIFIED",
    "avatarUrl": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "deactivatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

Success

data
object