GET
/
v3
/
user

Authorizations

Authorization
string
headerrequired

Enter your bearer token in the format Bearer access_token_here

Query Parameters

createdAt
string

When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

updatedAt
string

When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

limit
integer
default: 100

The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records.

offset
integer

OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned.

Required range: x > 0
sort
string

Sort by one of the listed field names. If the field name is prefixed with -, it will sort in descending order.

clientId
string

Your client id can be obtained by creating an app at https://builder.quantimo.do

clientUserId
integer

Ex: 74802

includeAuthorizedClients
boolean

Return list of apps, studies, and individuals with access to user data

Response

200 - application/json
accessToken
string
required

User access token

administrator
boolean
required

Is user administrator

displayName
string
required

User display name

email
string
required

User email

id
integer
required

User id

loginName
string
required

User login name

accessTokenExpires
string

Ex: 2018-08-08 02:41:19

accessTokenExpiresAtMilliseconds
integer

Ex: 1533696079000

avatar
string

Ex: https://lh6.googleusercontent.com/-BHr4hyUWqZU/AAAAAAAAAAI/AAAAAAAIG28/2Lv0en738II/photo.jpg?sz=50

avatarImage
string

Ex: https://lh6.googleusercontent.com/-BHr4hyUWqZU/AAAAAAAAAAI/AAAAAAAIG28/2Lv0en738II/photo.jpg?sz=50

capabilities
string

Ex: a:1:{s:13:"administrator";b:1;}

card
object
clientId
string

Ex: curedao

clientUserId
string

Ex: 118444693184829555362

combineNotifications
boolean

Ex: 1

createdAt
string

When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format

description
string

Your bio will be displayed on your published studies

earliestReminderTime
string

Earliest time user should get notifications. Ex: 05:00:00

firstName
string

Ex: Mike

getPreviewBuilds
boolean

Ex: false

hasAndroidApp
boolean

Ex: false

hasChromeExtension
boolean

Ex: false

hasIosApp
boolean

Ex: false

lastActive
string

Ex: Date the user last logged in

lastFour
string

Ex: 2009

lastName
string

Ex: Sinn

lastSmsTrackingReminderNotificationId
string

Ex: 1

latestReminderTime
string

Latest time user should get notifications. Ex: 23:00:00

password
string

Ex: PASSWORD

phoneNumber
string

Ex: 618-391-0002

phoneVerificationCode
string

Ex: 1234

primaryOutcomeVariableId
integer

A good primary outcome variable is something that you want to improve and that changes inexplicably. For instance, if you have anxiety, back pain or arthritis which is worse on some days than others, these would be good candidates for primary outcome variables. Recording their severity and potential factors will help you identify hidden factors exacerbating or improving them.

primaryOutcomeVariableName
string

A good primary outcome variable is something that you want to improve and that changes inexplicably. For instance, if you have anxiety, back pain or arthritis which is worse on some days than others, these would be good candidates for primary outcome variables. Recording their severity and potential factors will help you identify hidden factors exacerbating or improving them.

pushNotificationsEnabled
boolean

Ex: 1

refreshToken
string

See https://oauth.net/2/grant-types/refresh-token/

roles
string

Ex: ["admin"]

sendPredictorEmails
boolean

Ex: 1

sendReminderNotificationEmails
boolean

Ex: 1

shareAllData
boolean

Share all studies, charts, and measurement data with all other users

smsNotificationsEnabled
boolean

Ex: false

stripeActive
boolean

Ex: 1

stripeId
string

Ex: cus_A8CEmcvl8jwLhV

stripePlan
string

Ex: monthly7

stripeSubscription
string

Ex: sub_ANTx3nOE7nzjQf

subscriptionEndsAt
string

UTC ISO 8601 YYYY-MM-DDThh:mm:ss

subscriptionProvider
string

Ex: google

timeZoneOffset
integer

Ex: 300

trackLocation
boolean

Ex: 1

updatedAt
string

When the record in the database was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format

userRegistered
string

Ex: 2020-12-03 15:25:13 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

userUrl
string

Ex: https://plus.google.com/+MikeSinn