API Reference
- Getting Started
- Variables
- Measurements
- Analytics
- App Settings
- Data Import
- Feed
- Notifications
- Reminders
- Shares
- Studies
- Units
- User
Save measurements
Store measurements representing things like a food eaten, a mood rating, or a medication taken. If the variable for the measurements does not already exist in the database, it will be automatically created.
Enter your bearer token in the format Bearer access_token_here
Authorizations
Enter your bearer token in the format Bearer access_token_here
Body
Start Time for the measurement event in UTC ISO 8601 like 2020-01-01T12:12:12
Measurement value
Ex: Emotions, Treatments, Symptoms...
Activity
, Books
, Causes of Illness
, Cognitive Performance
, Conditions
, Emotions
, Environment
, Foods
, Goals
, Locations
, Miscellaneous
, Movies and TV
, Music
, Nutrients
, Payments
, Physical Activities
, Physique
, Sleep
, Social Interactions
, Software
, Symptoms
, Treatments
, Vital Signs
Name of the variable for which we are creating the measurement records
Unit of measurement
Way to aggregate measurements over time. SUM should be used for things like minutes of exercise. If you use MEAN for exercise, then a person might exercise more minutes in one day but add separate measurements that were smaller. So when we are doing correlational analysis, we would think that the person exercised less that day even though they exercised more. Conversely, we must use MEAN for things such as ratings which cannot be SUMMED.
MEAN
, SUM
Name of the application or device used to record the measurement values
UPC or other barcode scan result if you want to attach it to the variable name for recording measurements with a UPC scanner
Optional note to include with the measurement
Response
ex. OK or ERROR
true or false
Can be used as body of help info popup
Can be used as title in help info popup
Array of error objects with message property
Error message
ex. OK or ERROR
true or false
Response code such as 200
A super neat url you might want to share with your users!
HTML element id
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Smaller square image
Smaller circular image
Ex: #f2f2f2
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: Content
Ex: Title
HTML for the entire card.
Ex: <div>Content</div>
Larger image of variable dimensions
HTML element id
Selector list options
Ex: Title
Ex: Title
Ex: https://local.quantimo.do
Ex: Connect
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: This is a tooltip
Post here on button click
Ex: Title
check_box
, date
, email
, number
, postal_code
, select_option
, string
, switch
, text_area
, unit
, variable_category
See https://html5pattern.com/ for examples
Ex: ion-refresh
A link to a web page or something. Not much more to say about that.
Key value pairs derived from user input fields, button clicks, or preset defaults
Ex: https://local.quantimo.do
Ex: Connect
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: This is a tooltip
Post here on button click
Ex: sharingBody
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: sharingTitle
Ex: subTitle
Ex: subTitle
Ex: Title
Message
Can be used as body of help info popup
Can be used as title in help info popup
Array of error objects with message property
Error message
Response code such as 200
HTML element id
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Smaller square image
Smaller circular image
Ex: #f2f2f2
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: Content
Ex: Title
HTML for the entire card.
Ex: <div>Content</div>
Larger image of variable dimensions
HTML element id
Selector list options
Ex: Title
Ex: Title
Ex: https://local.quantimo.do
Ex: Connect
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: This is a tooltip
Post here on button click
Ex: Title
check_box
, date
, email
, number
, postal_code
, select_option
, string
, switch
, text_area
, unit
, variable_category
See https://html5pattern.com/ for examples
Ex: ion-refresh
A link to a web page or something. Not much more to say about that.
Key value pairs derived from user input fields, button clicks, or preset defaults
Ex: https://local.quantimo.do
Ex: Connect
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: This is a tooltip
Post here on button click
Ex: sharingBody
Ex: connect
Action data
Ex: connect
Ex: #f2f2f2
Text to show user before executing functionName
Name of function to call
Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API
Ex: connect
HTML element id
Ex: https://image.jpg
Ex: ion-refresh
Ex: https://local.quantimo.do
State to go to
Data to provide to the state
Text to show user after executing functionName
Text to show user after executing functionName
Text to show user after executing functionName
Ex: Connect
Ex: This is a tooltip
Post here on button click
Ex: sharingTitle
Ex: subTitle
Ex: subTitle
Ex: Title