v1

latestOpenAPI 3.0.1GNU General Public License v3 (GPL-3)2026-07-145265194.5 KB
user

Get user info

Returns user info. If no userId is specified, returns info for currently authenticated user

get/v3/user

Query parameters

userIdnumber

User's id

createdAtstring

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.

updatedAtstring

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.

limitinteger

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.

offsetinteger

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.

sortstring

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

clientIdstring

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

appVersionstring

Ex: 2.1.1.0

clientUserIdinteger

Ex: 74802

logstring

Username or email

pwdstring

User password

includeAuthorizedClientsboolean

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

Response

Successful operation

accessTokenstring required

User access token

accessTokenExpiresstring

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

accessTokenExpiresAtMillisecondsinteger

Ex: 1533696079000

administratorboolean required

Is user administrator

capabilitiesstring

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

clientIdstring

Ex: curedao

clientUserIdstring

Ex: 118444693184829555362

combineNotificationsboolean

Ex: 1

createdAtstring

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

descriptionstring

Your bio will be displayed on your published studies

displayNamestring required

User display name

earliestReminderTimestring

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

emailstring required

User email

firstNamestring

Ex: Mike

getPreviewBuildsboolean

Ex: false

hasAndroidAppboolean

Ex: false

hasChromeExtensionboolean

Ex: false

hasIosAppboolean

Ex: false

idinteger required

User id

lastActivestring

Ex: Date the user last logged in

lastFourstring

Ex: 2009

lastNamestring

Ex: Sinn

lastSmsTrackingReminderNotificationIdstring

Ex: 1

latestReminderTimestring

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

loginNamestring required

User login name

passwordstring

Ex: PASSWORD

phoneNumberstring

Ex: 618-391-0002

phoneVerificationCodestring

Ex: 1234

primaryOutcomeVariableIdinteger

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.

primaryOutcomeVariableNamestring

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.

pushNotificationsEnabledboolean

Ex: 1

rolesstring

Ex: ["admin"]

sendPredictorEmailsboolean

Ex: 1

sendReminderNotificationEmailsboolean

Ex: 1

shareAllDataboolean

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

smsNotificationsEnabledboolean

Ex: false

stripeActiveboolean

Ex: 1

stripeIdstring

Ex: cus_A8CEmcvl8jwLhV

stripePlanstring

Ex: monthly7

stripeSubscriptionstring

Ex: sub_ANTx3nOE7nzjQf

subscriptionEndsAtstring

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

subscriptionProviderstring

Ex: google

timeZoneOffsetinteger

Ex: 300

trackLocationboolean

Ex: 1

updatedAtstring

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

userRegisteredstring

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