GET
/
users
/
{user}
curl --request GET \
  --url https://api.altostrat.io/users/{user} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "idp": "azure",
  "name": "<string>",
  "email": "jsmith@example.com",
  "email_verified": true,
  "mobile": {
    "e164": 12125551212,
    "local": "(212) 555-1212",
    "country": "US"
  },
  "mobile_verified": true,
  "allow_login": true,
  "country": "<string>",
  "timezone": "Australia/Melbourne",
  "date_format": "d M Y",
  "time_format": "H:i:s",
  "locale": "<string>",
  "picture": "<string>",
  "mfa_enabled": true,
  "roles": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

Authorization
string
header
required

Standard OAuth2 flow for user authentication. Use Authorization Code Grant or Implicit Grant. JWT Bearer tokens obtained are used for subsequent requests.

Path Parameters

user
string
required

UUID of the user to retrieve.

Response

200
application/json

User details.

The response is of type object.