Users

retrieve user information

get/Users/{UserSid}

Response

user information

user_sidstring required
account_sidstring
is_activeboolean required

indicates whether account is active

namestring required

full user name

emailstring required

email associated with user

phonestring

phone associated with user

provider'github' | 'google' | 'local' required

authentication provider

scope'read-only' | 'read-write' required

scope of user permissions

pristineboolean required

true if account was newly created

email_validatedboolean

indicates whether user has validated their email address

phone_validatedboolean

indicates whether user has validated their mobile phone

tutorial_completioninteger

bitmask indicating which tutorials have been completed

jwtstring required

json web token to be used as bearer token in API requests

Example response

{
  "user_sid": "a5bce31e-a028-45cd-94c4-f121b72fec61",
  "account_sid": "a5bce31e-a028-45cd-94c4-f121b72fec61",
  "is_active": true,
  "name": "Dave Horton",
  "email": "daveh@drachtio.org",
  "provider": "github",
  "scope": "read-write",
  "pristine": true,
  "email_validated": true,
  "phone_validated": true,
  "tutorial_completion": 1
}

Changes