API Reference
- Getting Started
- Variables
- Measurements
- Analytics
- App Settings
- Data Import
- Feed
- Notifications
- Reminders
- Shares
- Studies
- Units
- User
Get tracking reminder settings
Users can be reminded to track certain variables at a specified frequency with a default value.
curl --request GET \
--url https://safe.dfda.earth/api/v3/trackingReminders \
--header 'Authorization: Bearer <token>'
[
{
"actionArray": [
{
"action": "<string>",
"callback": "<string>",
"modifiedValue": 123,
"title": "<string>",
"longTitle": "<string>",
"shortTitle": "<string>"
}
],
"availableUnits": [
{
"abbreviatedName": "<string>",
"advanced": 123,
"category": "Distance",
"categoryId": 123,
"categoryName": "<string>",
"conversionSteps": [
{
"operation": "ADD",
"value": 123
}
],
"id": 123,
"image": "<string>",
"manualTracking": 123,
"maximumAllowedValue": 123,
"maximumValue": 123,
"minimumAllowedValue": 123,
"minimumValue": 123,
"name": "<string>",
"unitCategory": {
"id": 123,
"name": "<string>",
"standardUnitAbbreviatedName": "<string>"
}
}
],
"bestStudyLink": "<string>",
"bestUserStudyLink": "<string>",
"bestPopulationStudyLink": "<string>",
"optimalValueMessage": "<string>",
"commonOptimalValueMessage": "<string>",
"userOptimalValueMessage": "<string>",
"card": {
"actionSheetButtons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"avatar": "<string>",
"avatarCircular": "<string>",
"backgroundColor": "<string>",
"buttons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"buttonsSecondary": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"content": "<string>",
"headerTitle": "<string>",
"html": "<string>",
"htmlContent": "<string>",
"id": "<string>",
"image": "<string>",
"inputFields": [
{
"displayName": "<string>",
"helpText": "<string>",
"hint": "<string>",
"icon": "<string>",
"id": "<string>",
"image": "<string>",
"key": "<string>",
"labelLeft": "<string>",
"labelRight": "<string>",
"link": "<string>",
"maxLength": 123,
"maxValue": 123,
"minLength": 123,
"minValue": 123,
"options": [
"<string>"
],
"placeholder": "<string>",
"postUrl": "<string>",
"required": true,
"show": true,
"submitButton": {
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
},
"type": "check_box",
"validationPattern": "<string>",
"value": "<string>"
}
],
"ionIcon": "<string>",
"link": "<string>",
"parameters": {},
"selectedButton": {
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
},
"sharingBody": "<string>",
"sharingButtons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"sharingTitle": "<string>",
"subHeader": "<string>",
"subTitle": "<string>",
"title": "<string>"
},
"clientId": "<string>",
"combinationOperation": "MEAN",
"createdAt": "<string>",
"displayName": "<string>",
"unitAbbreviatedName": "<string>",
"unitCategoryId": 123,
"unitCategoryName": "<string>",
"unitId": 123,
"unitName": "<string>",
"defaultValue": 123,
"enabled": true,
"email": true,
"errorMessage": "<string>",
"fillingValue": 123,
"firstDailyReminderTime": "<string>",
"frequencyTextDescription": "<string>",
"frequencyTextDescriptionWithTime": "<string>",
"id": 123,
"inputType": "<string>",
"instructions": "<string>",
"ionIcon": "<string>",
"lastTracked": "<string>",
"lastValue": 123,
"latestTrackingReminderNotificationReminderTime": "<string>",
"localDailyReminderNotificationTimes": [
"<string>"
],
"localDailyReminderNotificationTimesForAllReminders": [
"<string>"
],
"manualTracking": true,
"maximumAllowedValue": 123,
"minimumAllowedValue": 123,
"nextReminderTimeEpochSeconds": 123,
"notificationBar": true,
"numberOfRawMeasurements": 123,
"numberOfUniqueValues": 123,
"outcome": true,
"pngPath": "<string>",
"pngUrl": "<string>",
"productUrl": "<string>",
"popUp": true,
"question": "<string>",
"longQuestion": "<string>",
"reminderEndTime": "<string>",
"reminderFrequency": 123,
"reminderSound": "<string>",
"reminderStartEpochSeconds": 123,
"reminderStartTime": "<string>",
"reminderStartTimeLocal": "<string>",
"reminderStartTimeLocalHumanFormatted": "<string>",
"repeating": true,
"secondDailyReminderTime": "<string>",
"secondToLastValue": 123,
"sms": true,
"startTrackingDate": "<string>",
"stopTrackingDate": "<string>",
"svgUrl": "<string>",
"thirdDailyReminderTime": "<string>",
"thirdToLastValue": 123,
"trackingReminderId": 123,
"trackingReminderImageUrl": "<string>",
"upc": "<string>",
"updatedAt": "<string>",
"userId": 123,
"userVariableUnitAbbreviatedName": "<string>",
"userVariableUnitCategoryId": 123,
"userVariableUnitCategoryName": "<string>",
"userVariableUnitId": 123,
"userVariableUnitName": "<string>",
"userVariableVariableCategoryId": 123,
"userVariableVariableCategoryName": "<string>",
"valence": "<string>",
"valueAndFrequencyTextDescription": "<string>",
"valueAndFrequencyTextDescriptionWithTime": "<string>",
"variableCategoryId": 123,
"variableCategoryImageUrl": "<string>",
"variableCategoryName": "Activity",
"variableDescription": "<string>",
"variableId": 123,
"variableName": "<string>"
}
]
Authorizations
Enter your bearer token in the format Bearer access_token_here
Query Parameters
Ex: Emotions, Treatments, Symptoms...
Activities
, Books
, Causes of Illness
, Cognitive Performance
, Conditions
, Emotions
, Environment
, Foods
, Location
, Miscellaneous
, Movies and TV
, Music
, Nutrients
, Payments
, Physical Activity
, Physique
, Sleep
, Social Interactions
, Software
, Symptoms
, Treatments
, Vital Signs
, Goals
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.
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.
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 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.
x >= 0
Sort by one of the listed field names. If the field name is prefixed with -
, it will sort in descending order.
Your client id can be obtained by creating an app at https://builder.quantimo.do
Response
Successful operation
The response is of type object[]
.
curl --request GET \
--url https://safe.dfda.earth/api/v3/trackingReminders \
--header 'Authorization: Bearer <token>'
[
{
"actionArray": [
{
"action": "<string>",
"callback": "<string>",
"modifiedValue": 123,
"title": "<string>",
"longTitle": "<string>",
"shortTitle": "<string>"
}
],
"availableUnits": [
{
"abbreviatedName": "<string>",
"advanced": 123,
"category": "Distance",
"categoryId": 123,
"categoryName": "<string>",
"conversionSteps": [
{
"operation": "ADD",
"value": 123
}
],
"id": 123,
"image": "<string>",
"manualTracking": 123,
"maximumAllowedValue": 123,
"maximumValue": 123,
"minimumAllowedValue": 123,
"minimumValue": 123,
"name": "<string>",
"unitCategory": {
"id": 123,
"name": "<string>",
"standardUnitAbbreviatedName": "<string>"
}
}
],
"bestStudyLink": "<string>",
"bestUserStudyLink": "<string>",
"bestPopulationStudyLink": "<string>",
"optimalValueMessage": "<string>",
"commonOptimalValueMessage": "<string>",
"userOptimalValueMessage": "<string>",
"card": {
"actionSheetButtons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"avatar": "<string>",
"avatarCircular": "<string>",
"backgroundColor": "<string>",
"buttons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"buttonsSecondary": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"content": "<string>",
"headerTitle": "<string>",
"html": "<string>",
"htmlContent": "<string>",
"id": "<string>",
"image": "<string>",
"inputFields": [
{
"displayName": "<string>",
"helpText": "<string>",
"hint": "<string>",
"icon": "<string>",
"id": "<string>",
"image": "<string>",
"key": "<string>",
"labelLeft": "<string>",
"labelRight": "<string>",
"link": "<string>",
"maxLength": 123,
"maxValue": 123,
"minLength": 123,
"minValue": 123,
"options": [
"<string>"
],
"placeholder": "<string>",
"postUrl": "<string>",
"required": true,
"show": true,
"submitButton": {
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
},
"type": "check_box",
"validationPattern": "<string>",
"value": "<string>"
}
],
"ionIcon": "<string>",
"link": "<string>",
"parameters": {},
"selectedButton": {
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
},
"sharingBody": "<string>",
"sharingButtons": [
{
"accessibilityText": "<string>",
"action": {},
"additionalInformation": "<string>",
"color": "<string>",
"confirmationText": "<string>",
"functionName": "<string>",
"parameters": {},
"html": "<string>",
"id": "<string>",
"image": "<string>",
"ionIcon": "<string>",
"link": "<string>",
"stateName": "<string>",
"stateParams": {},
"successToastText": "<string>",
"successAlertTitle": "<string>",
"successAlertBody": "<string>",
"text": "<string>",
"tooltip": "<string>",
"webhookUrl": "<string>"
}
],
"sharingTitle": "<string>",
"subHeader": "<string>",
"subTitle": "<string>",
"title": "<string>"
},
"clientId": "<string>",
"combinationOperation": "MEAN",
"createdAt": "<string>",
"displayName": "<string>",
"unitAbbreviatedName": "<string>",
"unitCategoryId": 123,
"unitCategoryName": "<string>",
"unitId": 123,
"unitName": "<string>",
"defaultValue": 123,
"enabled": true,
"email": true,
"errorMessage": "<string>",
"fillingValue": 123,
"firstDailyReminderTime": "<string>",
"frequencyTextDescription": "<string>",
"frequencyTextDescriptionWithTime": "<string>",
"id": 123,
"inputType": "<string>",
"instructions": "<string>",
"ionIcon": "<string>",
"lastTracked": "<string>",
"lastValue": 123,
"latestTrackingReminderNotificationReminderTime": "<string>",
"localDailyReminderNotificationTimes": [
"<string>"
],
"localDailyReminderNotificationTimesForAllReminders": [
"<string>"
],
"manualTracking": true,
"maximumAllowedValue": 123,
"minimumAllowedValue": 123,
"nextReminderTimeEpochSeconds": 123,
"notificationBar": true,
"numberOfRawMeasurements": 123,
"numberOfUniqueValues": 123,
"outcome": true,
"pngPath": "<string>",
"pngUrl": "<string>",
"productUrl": "<string>",
"popUp": true,
"question": "<string>",
"longQuestion": "<string>",
"reminderEndTime": "<string>",
"reminderFrequency": 123,
"reminderSound": "<string>",
"reminderStartEpochSeconds": 123,
"reminderStartTime": "<string>",
"reminderStartTimeLocal": "<string>",
"reminderStartTimeLocalHumanFormatted": "<string>",
"repeating": true,
"secondDailyReminderTime": "<string>",
"secondToLastValue": 123,
"sms": true,
"startTrackingDate": "<string>",
"stopTrackingDate": "<string>",
"svgUrl": "<string>",
"thirdDailyReminderTime": "<string>",
"thirdToLastValue": 123,
"trackingReminderId": 123,
"trackingReminderImageUrl": "<string>",
"upc": "<string>",
"updatedAt": "<string>",
"userId": 123,
"userVariableUnitAbbreviatedName": "<string>",
"userVariableUnitCategoryId": 123,
"userVariableUnitCategoryName": "<string>",
"userVariableUnitId": 123,
"userVariableUnitName": "<string>",
"userVariableVariableCategoryId": 123,
"userVariableVariableCategoryName": "<string>",
"valence": "<string>",
"valueAndFrequencyTextDescription": "<string>",
"valueAndFrequencyTextDescriptionWithTime": "<string>",
"variableCategoryId": 123,
"variableCategoryImageUrl": "<string>",
"variableCategoryName": "Activity",
"variableDescription": "<string>",
"variableId": 123,
"variableName": "<string>"
}
]