Skip to main content
GET
/
users
/
{user_token}
Get user by token
curl --request GET \
  --url https://api.vantage.sh/v2/users/{user_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "usr_bfc6ab15e635f848",
  "name": "Patrick White",
  "email": "[email protected]",
  "role": "Owner",
  "last_seen_at": "2024-01-01"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

user_token
string
required

Response

User model

token
string
name
string

The name of the User.

Example:

"John Doe"

email
string

The email of the User.

role
string

The role of the User.

Example:

"Admin"

last_seen_at
string

The last time the User logged in.

Example:

"2024-01-01T00:00:00Z"