v1

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

Post UserSettings

Post UserSettings

post/v3/userSettings

Query parameters

clientIdstring

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

Request body

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

Response

Successful operation

messagestring

Message

descriptionstring

Can be used as body of help info popup

summarystring

Can be used as title in help info popup

statusstring required

ex. OK or ERROR

successboolean required

true or false

codenumber

Response code such as 200

linkstring

A super neat url you might want to share with your users!