quantimodo API Reference

We make it easy to retrieve and analyze normalized user data from a wide array of devices and applications. Check out our docs and sdk's or contact us.

API Endpoint
https://app.quantimo.do/api
Terms of Service: https://quantimo.do/tos/
Request Content-Types: application/json
Response Content-Types: application/json
Schemes: https
Version: 5.8.112511

Authentication

access_token

in
query
name
access_token
type
apiKey

client_id

in
query
name
clientId
type
apiKey

quantimodo_oauth2

authorizationUrl
https://app.quantimo.do/api/v1/oauth/authorize
flow
accessCode
scopes
basic

Allows you to read user info (display name, email, etc)

readmeasurements

Allows one to read a user's measurements

writemeasurements

Allows you to write user measurements

tokenUrl
https://app.quantimo.do/api/v1/oauth/token
type
oauth2

analytics

Identify the strongest predictors of a given outcome and generate studies

Get correlations

GET /v3/correlations

Get a list of correlations that can be used to display top predictors of a given outcome like mood, for instance.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

userId: number
in query

User's id

correlationCoefficient: string
in query

Pearson correlation coefficient between cause and effect after lagging by onset delay and grouping by duration of action

updatedAt: string
in query

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.

outcomesOfInterest: boolean
in query

Only include correlations for which the effect is an outcome of interest for the user

clientId: string
in query

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

commonOnly: boolean
in query

Return only public, anonymized and aggregated population data instead of user-specific variables

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "data": {
    "correlations": [
      {
        "averageDailyHighCause": "number (double)",
        "averageDailyLowCause": "number (double)",
        "averageEffect": "number (double)",
        "averageEffectFollowingHighCause": "number (double)",
        "averageEffectFollowingLowCause": "number (double)",
        "averageForwardPearsonCorrelationOverOnsetDelays": "number (double)",
        "averageReversePearsonCorrelationOverOnsetDelays": "number (double)",
        "averageVote": "number",
        "causeChanges": "integer",
        "causeDataSource": {
          "affiliate": "boolean",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "card": {
            "actionSheetButtons": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string",
                "color": "string",
                "confirmationText": "string",
                "functionName": "string",
                "parameters": "object",
                "html": "string",
                "id": "string",
                "image": "string",
                "ionIcon": "string",
                "link": "string",
                "stateName": "string",
                "stateParams": "object",
                "successToastText": "string",
                "successAlertTitle": "string",
                "successAlertBody": "string",
                "text": "string",
                "tooltip": "string",
                "webhookUrl": "string"
              }
            ],
            "avatar": "string",
            "avatarCircular": "string",
            "backgroundColor": "string",
            "buttons": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string",
                "color": "string",
                "confirmationText": "string",
                "functionName": "string",
                "parameters": "object",
                "html": "string",
                "id": "string",
                "image": "string",
                "ionIcon": "string",
                "link": "string",
                "stateName": "string",
                "stateParams": "object",
                "successToastText": "string",
                "successAlertTitle": "string",
                "successAlertBody": "string",
                "text": "string",
                "tooltip": "string",
                "webhookUrl": "string"
              }
            ],
            "buttonsSecondary": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string"
              }
            ]
          }
        }
      }
    ]
  }
}

Get correlation explanations

GET /v3/correlations/explanations

Get explanations of correlations based on data from a single user.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

200 OK

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "averageDailyHighCause": "number (double)",
    "averageDailyLowCause": "number (double)",
    "averageEffect": "number (double)",
    "averageEffectFollowingHighCause": "number (double)",
    "averageEffectFollowingLowCause": "number (double)",
    "averageForwardPearsonCorrelationOverOnsetDelays": "number (double)",
    "averageReversePearsonCorrelationOverOnsetDelays": "number (double)",
    "averageVote": "number",
    "causeChanges": "integer",
    "causeDataSource": {
      "affiliate": "boolean",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "card": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object"
          }
        ]
      }
    }
  }
]

connectors

Import data from third-party apps and devices like Fitbit and Mint.

Mobile connect page

GET /v3/connect/mobile

This page is designed to be opened in a webview. Instead of using popup authentication boxes, it uses redirection. You can include the user's access_token as a URL parameter like https://app.quantimo.do/api/v3/connect/mobile?access_token=123

userId: number
in query

User's id

200 OK

Mobile connect page was returned

401 Unauthorized

User token is missing

403 Forbidden

User token is incorrect

Response Content-Types: text/html

List of Connectors

GET /v3/connectors/list

A connector pulls data from other data providers using their API or a screenscraper. Returns a list of all available connectors and information about them such as their id, name, whether the user has provided access, logo url, connection instructions, and the update history.

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "connectors": [
    {
      "affiliate": "boolean",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "card": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string"
          }
        ]
      }
    }
  ]
}

Obtain a token from 3rd party data source

GET /v3/connectors/{connectorName}/connect

Attempt to obtain a token from the data provider, store it in the database. With this, the connector to continue to obtain new user data until the token is revoked.

userId: number
in query

User's id

connectorName: string facebook, fitbit, github, googlecalendar, googlefit, medhelper, mint, moodpanda, moodscope, myfitnesspal, mynetdiary, netatmo, rescuetime, runkeeper, slack, sleepcloud, slice, up, whatpulse, withings, worldweatheronline, foursquare, strava, gmail
in path

Lowercase system name of the source application or device. Get a list of available connectors from the /v3/connectors/list endpoint.

200 OK

Successful operation

401 Unauthorized

Not Authenticated

404 Not Found

Method not found. Could not execute the requested method.

500 Internal Server Error

Error during update. Unsupported response from update().

Response Content-Types: application/json

Delete stored connection info

GET /v3/connectors/{connectorName}/disconnect

The disconnect method deletes any stored tokens or connection information from the connectors database.

connectorName: string facebook, fitbit, github, googlecalendar, googlefit, medhelper, mint, moodpanda, moodscope, myfitnesspal, mynetdiary, netatmo, rescuetime, runkeeper, slack, sleepcloud, slice, up, whatpulse, withings, worldweatheronline, foursquare, strava, gmail
in path

Lowercase system name of the source application or device. Get a list of available connectors from the /v3/connectors/list endpoint.

200 OK

Successful operation

401 Unauthorized

Not Authenticated

404 Not Found

Method not found. Could not execute the requested method.

500 Internal Server Error

Error during update. Unsupported response from update().

Response Content-Types: application/json

Sync with data source

GET /v3/connectors/{connectorName}/update

The update method tells the QM Connector Framework to check with the data provider (such as Fitbit or MyFitnessPal) and retrieve any new measurements available.

userId: number
in query

User's id

connectorName: string facebook, fitbit, github, googlecalendar, googlefit, medhelper, mint, moodpanda, moodscope, myfitnesspal, mynetdiary, netatmo, rescuetime, runkeeper, slack, sleepcloud, slice, up, whatpulse, withings, worldweatheronline, foursquare, strava, gmail
in path

Lowercase system name of the source application or device. Get a list of available connectors from the /v3/connectors/list endpoint.

200 OK

Connection Successful

401 Unauthorized

Not Authenticated

404 Not Found

Method not found. Could not execute the requested method.

500 Internal Server Error

Error during update. Unsupported response from update().

Response Content-Types: application/json

Get embeddable connect javascript

GET /v3/integration.js

Get embeddable connect javascript. Usage:

  • Embedding in applications with popups for 3rd-party authentication windows. Use qmSetupInPopup function after connecting connect.js.
  • Embedding in applications with popups for 3rd-party authentication windows. Requires a selector to block. It will be embedded in this block. Use qmSetupOnPage function after connecting connect.js.
  • Embedding in mobile applications without popups for 3rd-party authentication. Use qmSetupOnMobile function after connecting connect.js. If using in a Cordova application call qmSetupOnIonic function after connecting connect.js.
clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

200 OK

Embeddable connect javascript was returned

Response Content-Types: application/x-javascript

measurements

Measurements are any value that can be recorded like daily steps, a mood rating, or apples eaten.

Post Request for Measurements CSV

POST /v2/measurements/exportRequest

Use this endpoint to schedule a CSV export containing all user measurements to be emailed to the user within 24 hours.

userId: number
in query

User's id

201 Created

successful operation

type
integer
Response Content-Types: application/json
Response Example (201 Created)
"integer"

Get measurements for this user

GET /v3/measurements

Measurements are any value that can be recorded like daily steps, a mood rating, or apples eaten.

variableName: string
in query

Name of the variable you want measurements for

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

variableCategoryName: string 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
in query

Ex: Emotions, Treatments, Symptoms...

updatedAt: string
in query

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.

userId: number
in query

User's id

sourceName: string
in query

ID of the source you want measurements for (supports exact name match only)

connectorName: string
in query

Ex: facebook

value: string
in query

Value of measurement

unitName: string % Recommended Daily Allowance, -4 to 4 Rating, 0 to 1 Rating, 0 to 5 Rating, 1 to 10 Rating, 1 to 5 Rating, Applications, Beats per Minute, Calories, Capsules, Centimeters, Count, Degrees Celsius, Degrees East, Degrees Fahrenheit, Degrees North, Dollars, Drops, Event, Feet, Grams, Hours, Inches, Index, Kilocalories, Kilograms, Kilometers, Liters, Meters, Micrograms, Micrograms per decilitre, Miles, Milligrams, Milliliters, Millimeters, Millimeters Merc, Milliseconds, Minutes, Pascal, Percent, Pieces, Pills, Pounds, Puffs, Seconds, Serving, Sprays, Tablets, Torr, Units, Yes/No, per Minute, Doses, Quarts, Ounces, International Units, Meters per Second
in query

Ex: Milligrams

earliestMeasurementTime: string
in query

Excluded records with measurement times earlier than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

latestMeasurementTime: string
in query

Excluded records with measurement times later than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

createdAt: string
in query

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.

id: integer
in query

Measurement id

groupingWidth: integer
in query

The time (in seconds) over which measurements are grouped together

groupingTimezone: string
in query

The time (in seconds) over which measurements are grouped together

doNotProcess: boolean
in query

Ex: true

clientId: string
in query

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

doNotConvert: boolean
in query

Ex: 1

minMaxFilter: boolean
in query

Ex: 1

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

200 OK

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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": "integer",
          "maxValue": "number",
          "minLength": "integer",
          "minValue": "number"
        }
      ]
    }
  }
]

Delete a measurement

DELETE /v3/measurements/delete

Delete a previously submitted measurement

The startTime and variableId of the measurement to be deleted.

Request Example
{
  "startTime": "integer",
  "variableId": "integer",
  "connectorName": "string",
  "clientId": "string"
}
204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Post a new set or update existing measurements to the database

POST /v3/measurements/post

You can submit or update multiple measurements in a "measurements" sub-array. If the variable these measurements correspond to does not already exist in the database, it will be automatically added.

An array of measurement sets containing measurement items you want to insert.

MeasurementSet
userId: number
in query

User's id

Request Example
[
  {
    "combinationOperation": "string",
    "measurementItems": [
      {
        "note": "string",
        "timestamp": "integer (int64)",
        "value": "number (double)"
      }
    ],
    "sourceName": "string",
    "unitAbbreviatedName": "string",
    "variableCategoryName": "string",
    "variableName": "string",
    "upc": "string"
  }
]

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "data": {
    "userVariables": [
      {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string"
            }
          ]
        }
      }
    ]
  }
}

Update a measurement

POST /v3/measurements/update

Update a previously submitted measurement

The id as well as the new startTime, note, and/or value of the measurement to be updated

Request Example
{
  "id": "integer",
  "note": "string",
  "startTime": "integer",
  "value": "number (double)"
}
201 Created

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Get pairs of measurements for correlational analysis

GET /v3/pairs

Pairs cause measurements with effect measurements grouped over the duration of action after the onset delay.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

effectUnitName: string
in query

Name for the unit effect measurements to be returned in

userId: number
in query

User's id

causeUnitName: string
in query

Name for the unit cause measurements to be returned in

onsetDelay: string
in query

The amount of time in seconds that elapses after the predictor/stimulus event before the outcome as perceived by a self-tracker is known as the onset delay. For example, the onset delay between the time a person takes an aspirin (predictor/stimulus event) and the time a person perceives a change in their headache severity (outcome) is approximately 30 minutes.

durationOfAction: string
in query

The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds

earliestMeasurementTime: string
in query

Excluded records with measurement times earlier than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

latestMeasurementTime: string
in query

Excluded records with measurement times later than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

limit: integer 100
in query

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 x ≥ 0
in query

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.

sort: string
in query

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

200 OK

Successful operation

type
401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "causeMeasurement": "number (double)",
    "causeMeasurementValue": "number (double)",
    "causeVariableUnitAbbreviatedName": "string",
    "effectMeasurement": "number (double)",
    "effectMeasurementValue": "number (double)",
    "effectVariableUnitAbbreviatedName": "string",
    "eventAt": "string",
    "eventAtUnixTime": "integer",
    "startTimeString": "string",
    "timestamp": "integer"
  }
]

reminders

Users can be reminded to track certain variables at a specified frequency with a default value.

Get specific tracking reminder notifications

GET /v3/trackingReminderNotifications

Specific tracking reminder notification instances that still need to be tracked.

sort: string
in query

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

userId: number
in query

User's id

createdAt: string
in query

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
in query

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 100
in query

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 x ≥ 0
in query

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.

variableCategoryName: string 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
in query

Ex: Emotions, Treatments, Symptoms...

reminderTime: string
in query

Ex: (lt)2017-07-31 21:43:26

clientId: string
in query

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

onlyPast: boolean
in query

Ex: 1

includeDeleted: boolean
in query

Include deleted variables

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

Response Content-Types: application/json
Response Example (200 OK)
{
  "data": [
    {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string"
          }
        ]
      }
    }
  ]
}

Snooze, skip, or track a tracking reminder notification

POST /v3/trackingReminderNotifications

Snooze, skip, or track a tracking reminder notification

Id of the tracking reminder notification to be snoozed

Array of TrackingReminderNotifications to take action on

TrackingReminderNotificationPost
userId: number
in query

User's id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Request Example
[
  {
    "action": "string",
    "id": "number",
    "modifiedValue": "number"
  }
]
201 Created

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Get repeating tracking reminder settings

GET /v3/trackingReminders

Users can be reminded to track certain variables at a specified frequency with a default value.

userId: number
in query

User's id

variableCategoryName: string 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
in query

Ex: Emotions, Treatments, Symptoms...

createdAt: string
in query

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
in query

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 100
in query

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 x ≥ 0
in query

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.

sort: string
in query

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

clientId: string
in query

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

appVersion: string
in query

Ex: 2.1.1.0

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "actionArray": [
      {
        "action": "string",
        "callback": "string",
        "modifiedValue": "integer",
        "title": "string",
        "longTitle": "string",
        "shortTitle": "string"
      }
    ],
    "availableUnits": [
      {
        "abbreviatedName": "string",
        "advanced": "integer",
        "category": "string",
        "categoryId": "integer",
        "categoryName": "string",
        "conversionSteps": [
          {
            "operation": "string",
            "value": "number (double)"
          }
        ],
        "id": "integer",
        "manualTracking": "integer",
        "maximumAllowedValue": "number (double)",
        "maximumValue": "integer",
        "minimumAllowedValue": "number (double)",
        "minimumValue": "integer",
        "name": "string",
        "unitCategory": {
          "id": "integer",
          "name": "string",
          "standardUnitAbbreviatedName": "string"
        }
      }
    ],
    "bestStudyLink": "string",
    "bestStudyCard": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Store a Tracking Reminder

POST /v3/trackingReminders

This is to enable users to create reminders to track a variable with a default value at a specified frequency

TrackingReminder that should be stored

TrackingReminder
Request Example
[
  {
    "actionArray": [
      {
        "action": "string",
        "callback": "string",
        "modifiedValue": "integer",
        "title": "string",
        "longTitle": "string",
        "shortTitle": "string"
      }
    ],
    "availableUnits": [
      {
        "abbreviatedName": "string",
        "advanced": "integer",
        "category": "string",
        "categoryId": "integer",
        "categoryName": "string",
        "conversionSteps": [
          {
            "operation": "string",
            "value": "number (double)"
          }
        ],
        "id": "integer",
        "manualTracking": "integer",
        "maximumAllowedValue": "number (double)",
        "maximumValue": "integer",
        "minimumAllowedValue": "number (double)",
        "minimumValue": "integer",
        "name": "string",
        "unitCategory": {
          "id": "integer",
          "name": "string",
          "standardUnitAbbreviatedName": "string"
        }
      }
    ],
    "bestStudyLink": "string",
    "bestStudyCard": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Successful operation

Response Content-Types: application/json
Response Example (201 Created)
{
  "data": {
    "trackingReminderNotifications": [
      {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string"
            }
          ]
        }
      }
    ]
  }
}

Delete Tracking Reminder

DELETE /v3/trackingReminders/delete

Stop getting notifications to record data for a variable. Previously recorded measurements will be preserved.

Id of reminder to be deleted

userId: number
in query

User's id

Request Example
{
  "id": "integer"
}
204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

units

Available units for measurements

Get unit categories

GET /v3/unitCategories

Get a list of the categories of measurement units such as 'Distance', 'Duration', 'Energy', 'Frequency', 'Miscellany', 'Pressure', 'Proportion', 'Rating', 'Temperature', 'Volume', and 'Weight'.

200 OK

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "id": "integer",
    "name": "string",
    "standardUnitAbbreviatedName": "string"
  }
]

Get units

GET /v3/units

Get a list of the available measurement units

200 OK

Successful operation

type
401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "abbreviatedName": "string",
    "advanced": "integer",
    "category": "string",
    "categoryId": "integer",
    "categoryName": "string",
    "conversionSteps": [
      {
        "operation": "string",
        "value": "number (double)"
      }
    ],
    "id": "integer",
    "manualTracking": "integer",
    "maximumAllowedValue": "number (double)",
    "maximumValue": "integer",
    "minimumAllowedValue": "number (double)",
    "minimumValue": "integer",
    "name": "string",
    "unitCategory": {
      "id": "integer",
      "name": "string",
      "standardUnitAbbreviatedName": "string"
    }
  }
]

user

Get or update user info and settings

Get user info

GET /v3/user

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

userId: number
in query

User's id

createdAt: string
in query

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
in query

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 100
in query

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 x ≥ 0
in query

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.

sort: string
in query

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

clientId: string
in query

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

appVersion: string
in query

Ex: 2.1.1.0

clientUserId: integer
in query

Ex: 74802

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

log: string
in query

Username or email

pwd: string
in query

User password

includeAuthorizedClients: boolean
in query

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

200 OK

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "accessToken": "string",
  "accessTokenExpires": "string",
  "accessTokenExpiresAtMilliseconds": "integer",
  "administrator": "boolean",
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Get users who shared data

GET /v3/users

Returns users who have granted access to their data

userId: number
in query

User's id

createdAt: string
in query

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
in query

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 100
in query

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 x ≥ 0
in query

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.

sort: string
in query

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

clientId: string
in query

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

appVersion: string
in query

Ex: 2.1.1.0

clientUserId: integer
in query

Ex: 74802

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

log: string
in query

Username or email

pwd: string
in query

User password

200 OK

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "users": [
    {
      "accessToken": "string",
      "accessTokenExpires": "string",
      "accessTokenExpiresAtMilliseconds": "integer",
      "administrator": "boolean",
      "authorizedClients": {
        "apps": [
          {
            "additionalSettings": "object",
            "appDescription": "string",
            "appDesign": "object",
            "appDisplayName": "string",
            "appStatus": "object",
            "appType": "string",
            "buildEnabled": "string",
            "clientId": "string",
            "clientSecret": "string",
            "collaborators": [
              {
                "accessToken": "string",
                "accessTokenExpires": "string",
                "accessTokenExpiresAtMilliseconds": "integer",
                "administrator": "boolean",
                "authorizedClients": {
                  "apps": [
                    {
                      "additionalSettings": "object",
                      "appDescription": "string",
                      "appDesign": "object",
                      "appDisplayName": "string",
                      "appStatus": "object",
                      "appType": "string",
                      "buildEnabled": "string",
                      "clientId": "string",
                      "clientSecret": "string",
                      "collaborators": [
                        {
                          "accessToken": "string",
                          "accessTokenExpires": "string",
                          "accessTokenExpiresAtMilliseconds": "integer",
                          "administrator": "boolean",
                          "authorizedClients": {
                            "apps": [
                              {
                                "additionalSettings": "object",
                                "appDescription": "string",
                                "appDesign": "object",
                                "appDisplayName": "string",
                                "appStatus": "object",
                                "appType": "string",
                                "buildEnabled": "string",
                                "clientId": "string",
                                "clientSecret": "string",
                                "collaborators": [
                                  {
                                    "accessToken": "string",
                                    "accessTokenExpires": "string",
                                    "accessTokenExpiresAtMilliseconds": "integer",
                                    "administrator": "boolean",
                                    "authorizedClients": {
                                      "apps": [
                                        {
                                          "additionalSettings": "object",
                                          "appDescription": "string",
                                          "appDesign": "object",
                                          "appDisplayName": "string",
                                          "appStatus": "object",
                                          "appType": "string",
                                          "buildEnabled": "string",
                                          "clientId": "string",
                                          "clientSecret": "string",
                                          "collaborators": [
                                            {
                                              "accessToken": "string",
                                              "accessTokenExpires": "string",
                                              "accessTokenExpiresAtMilliseconds": "integer",
                                              "administrator": "boolean",
                                              "authorizedClients": {
                                                "apps": [
                                                  {
                                                    "additionalSettings": "object",
                                                    "appDescription": "string"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ]
}

Delete user

DELETE /v3/user/delete

Delete user account. Only the client app that created a user can delete that user.

clientId: string
in query

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

reason: string
in query

Ex: I hate you!

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Post UserSettings

POST /v3/userSettings

Post UserSettings

User settings to update

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Request Example
{
  "accessToken": "string",
  "accessTokenExpires": "string",
  "accessTokenExpiresAtMilliseconds": "integer",
  "administrator": "boolean",
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
{
  "data": {
    "purchaseId": "integer",
    "description": "string",
    "summary": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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"
        }
      ]
    }
  }
}

variables

Can be used for search auto-complete for data types like symptoms, foods and treatments and include statistics

Post or update user tags or ingredients

POST /v3/userTags

This endpoint allows users to tag foods with their ingredients. This information will then be used to infer the user intake of the different ingredients by just entering the foods. The inferred intake levels will then be used to determine the effects of different nutrients on the user during analysis.

Contains the new user tag data

userId: number
in query

User's id

Request Example
{
  "conversionFactor": "number",
  "taggedVariableId": "integer",
  "tagVariableId": "integer"
}
201 Created

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Delete user tag or ingredient

DELETE /v3/userTags/delete

Delete previously created user tags or ingredients.

taggedVariableId: integer
in query

Id of the tagged variable (i.e. Lollipop) you would like to get variables it can be tagged with (i.e. Sugar). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

tagVariableId: integer
in query

Id of the tag variable (i.e. Sugar) you would like to get variables it can be tagged to (i.e. Lollipop). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Get variables along with related user-specific analysis settings and statistics

GET /v3/variables

Get variables. If the user has specified variable settings, these are provided instead of the common variable defaults.

includeCharts: boolean
in query

Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.

numberOfRawMeasurements: string
in query

Filter variables by the total number of measurements that they have. This could be used of you want to filter or sort by popularity.

userId: number
in query

User's id

variableCategoryName: string 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
in query

Ex: Emotions, Treatments, Symptoms...

name: string
in query

Name of the variable. To get results matching a substring, add % as a wildcard as the first and/or last character of a query string parameter. In order to get variables that contain Mood, the following query should be used: ?variableName=%Mood%

variableName: string
in query

Name of the variable you want measurements for

updatedAt: string
in query

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.

sourceName: string
in query

ID of the source you want measurements for (supports exact name match only)

earliestMeasurementTime: string
in query

Excluded records with measurement times earlier than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

latestMeasurementTime: string
in query

Excluded records with measurement times later than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

id: integer
in query

Common variable id

lastSourceName: string
in query

Limit variables to those which measurements were last submitted by a specific source. So if you have a client application and you only want variables that were last updated by your app, you can include the name of your app here

limit: integer 100
in query

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 x ≥ 0
in query

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.

sort: string
in query

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

includePublic: boolean
in query

Include variables the user has no measurements for

manualTracking: boolean
in query

Only include variables tracked manually by the user

clientId: string
in query

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

upc: string
in query

UPC or other barcode scan result

effectOrCause: string
in query

Provided variable is the effect or cause

publicEffectOrCause: string
in query

Ex:

exactMatch: boolean
in query

Require exact match

variableCategoryId: integer
in query

Ex: 13

includePrivate: boolean
in query

Include user-specific variables in results

searchPhrase: string
in query

Ex: %Body Fat%

synonyms: string
in query

Ex: McDonalds hotcake

taggedVariableId: integer
in query

Id of the tagged variable (i.e. Lollipop) you would like to get variables it can be tagged with (i.e. Sugar). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

tagVariableId: integer
in query

Id of the tag variable (i.e. Sugar) you would like to get variables it can be tagged to (i.e. Lollipop). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

joinVariableId: integer
in query

Id of the variable you would like to get variables that can be joined to. This is used to merge duplicate variables. If joinVariableId is specified, this returns only variables eligible to be joined to the variable specified by the joinVariableId.

parentUserTagVariableId: integer
in query

Id of the parent category variable (i.e. Fruit) you would like to get eligible child sub-type variables (i.e. Apple) for. Child variable measurements will be included in analysis of the parent variable. For instance, a child sub-type of the parent category Fruit could be Apple. When Apple is tagged with the parent category Fruit, Apple measurements will be included when Fruit is analyzed.

childUserTagVariableId: integer
in query

Id of the child sub-type variable (i.e. Apple) you would like to get eligible parent variables (i.e. Fruit) for. Child variable measurements will be included in analysis of the parent variable. For instance, a child sub-type of the parent category Fruit could be Apple. When Apple is tagged with the parent category Fruit, Apple measurements will be included when Fruit is analyzed.

ingredientUserTagVariableId: integer
in query

Id of the ingredient variable (i.e. Fructose) you would like to get eligible ingredientOf variables (i.e. Apple) for. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredientOf of variable Fruit could be Apple.

ingredientOfUserTagVariableId: integer
in query

Id of the ingredientOf variable (i.e. Apple) you would like to get eligible ingredient variables (i.e. Fructose) for. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredientOf of variable Fruit could be Apple.

commonOnly: boolean
in query

Return only public and aggregated common variable data instead of user-specific variables

userOnly: boolean
in query

Return only user-specific variables and data, excluding common aggregated variable data

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

includeTags: boolean
in query

Return parent, child, duplicate, and ingredient variables

recalculate: boolean
in query

Recalculate instead of using cached analysis

variableId: integer
in query

Ex: 13

concise: boolean
in query

Only return field required for variable auto-complete searches. The smaller size allows for storing more variable results locally reducing API requests.

refresh: boolean
in query

Regenerate charts instead of getting from the cache

200 OK

Variables returned

type
401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "actionArray": [
      {
        "action": "string",
        "callback": "string",
        "modifiedValue": "integer",
        "title": "string",
        "longTitle": "string",
        "shortTitle": "string"
      }
    ],
    "alias": "string",
    "availableUnits": [
      {
        "abbreviatedName": "string",
        "advanced": "integer",
        "category": "string",
        "categoryId": "integer",
        "categoryName": "string",
        "conversionSteps": [
          {
            "operation": "string",
            "value": "number (double)"
          }
        ],
        "id": "integer",
        "manualTracking": "integer",
        "maximumAllowedValue": "number (double)",
        "maximumValue": "integer",
        "minimumAllowedValue": "number (double)",
        "minimumValue": "integer",
        "name": "string",
        "unitCategory": {
          "id": "integer",
          "name": "string",
          "standardUnitAbbreviatedName": "string"
        }
      }
    ],
    "bestStudyLink": "string",
    "bestStudyCard": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object"
        }
      ]
    }
  }
]

Update User Settings for a Variable

POST /v3/variables

Users can change the parameters used in analysis of that variable such as the expected duration of action for a variable to have an effect, the estimated delay before the onset of action. In order to filter out erroneous data, they are able to set the maximum and minimum reasonable daily values for a variable.

includePrivate: boolean
in query

Include user-specific variables in results

userVariables: object
in body

Variable user settings data

clientId: string
in query

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

includePublic: boolean
in query

Include variables the user has no measurements for

searchPhrase: string
in query

Ex: %Body Fat%

exactMatch: boolean
in query

Require exact match

manualTracking: boolean
in query

Only include variables tracked manually by the user

variableCategoryName: string 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
in query

Ex: Emotions, Treatments, Symptoms...

variableCategoryId: integer
in query

Ex: 13

synonyms: string
in query

Ex: McDonalds hotcake

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful Operation

400 Bad Request

The received JSON was invalid or malformed

401 Unauthorized

Not Authenticated

404 Not Found

Unknown target user ID

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Delete All Measurements For Variable

DELETE /v3/userVariables/delete

Users can delete all of their measurements for a variable

variableId: object
in body

Id of the variable whose measurements should be deleted

204 No Content

Successful operation

400 Bad Request

The received JSON was invalid or malformed

401 Unauthorized

Not Authenticated

404 Not Found

Unknown target user ID

Response Content-Types: application/json

Reset user settings for a variable to defaults

POST /v3/userVariables/reset

Reset user settings for a variable to defaults

variableId: object
in body

Id of the variable whose measurements should be deleted

201 Created

Successful operation

400 Bad Request

The received JSON was invalid or malformed

401 Unauthorized

Not Authenticated

404 Not Found

Unknown target user ID

Response Content-Types: application/json

Variable categories

GET /v3/variableCategories

The variable categories include Activity, Causes of Illness, Cognitive Performance, Conditions, Environment, Foods, Location, Miscellaneous, Mood, Nutrition, Physical Activity, Physique, Sleep, Social Interactions, Symptoms, Treatments, Vital Signs, and Goals.

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "appType": "string",
    "causeOnly": "boolean",
    "combinationOperation": "string",
    "createdTime": "string",
    "unitAbbreviatedName": "string",
    "unitId": "integer",
    "durationOfAction": "integer",
    "fillingValue": "integer",
    "helpText": "string",
    "id": "integer",
    "imageUrl": "string",
    "ionIcon": "string",
    "manualTracking": "boolean",
    "maximumAllowedValue": "string",
    "measurementSynonymSingularLowercase": "string",
    "minimumAllowedValue": "string",
    "moreInfo": "string",
    "name": "string",
    "onsetDelay": "integer",
    "outcome": "boolean",
    "pngPath": "string",
    "pngUrl": "string",
    "public": "boolean",
    "svgPath": "string",
    "svgUrl": "string",
    "updated": "integer",
    "updatedTime": "string",
    "variableCategoryName": "string",
    "variableCategoryNameSingular": "string"
  }
]

studies

Automatically generated natural language studies examining the relationship between a predictor and outcome variable including charts.

Get Personal or Population Studies

GET /v3/studies

If you have enough data, this will be a list of your personal studies, otherwise it will consist of aggregated population studies.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

userId: number
in query

User's id

clientId: string
in query

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

includeCharts: boolean
in query

Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

recalculate: boolean
in query

Recalculate instead of using cached analysis

studyId: string
in query

Client id for the study you want

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

correlationCoefficient: string
in query

Pearson correlation coefficient between cause and effect after lagging by onset delay and grouping by duration of action

updatedAt: string
in query

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.

outcomesOfInterest: boolean
in query

Only include correlations for which the effect is an outcome of interest for the user

principalInvestigatorUserId: integer
in query

These are studies created by a specific principal investigator

open: boolean
in query

These are studies that anyone can join

joined: boolean
in query

These are studies that you have joined

created: boolean
in query

These are studies that you have created

population: boolean
in query

These are studies based on the entire population of users that have shared their data

downvoted: boolean
in query

These are studies that you have down-voted

Successful operation

401 Unauthorized

Successful operation

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
{
  "studies": [
    {
      "type": "string",
      "userId": "integer (int32)",
      "id": "string",
      "causeVariable": {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {}
          ]
        }
      }
    }
  ]
}
Response Example (401 Unauthorized)
{
  "message": "string",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

These are open studies that anyone can join

GET /v3/studies/open

These are studies that anyone can join and share their data for the predictor and outcome variables of interest.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

userId: number
in query

User's id

clientId: string
in query

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

includeCharts: boolean
in query

Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

recalculate: boolean
in query

Recalculate instead of using cached analysis

studyId: string
in query

Client id for the study you want

Successful operation

401 Unauthorized

Successful operation

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
{
  "studies": [
    {
      "type": "string",
      "userId": "integer (int32)",
      "id": "string",
      "causeVariable": {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {}
          ]
        }
      }
    }
  ]
}
Response Example (401 Unauthorized)
{
  "message": "string",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Studies You Have Joined

GET /v3/studies/joined

These are studies that you are currently sharing your data with.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

userId: number
in query

User's id

correlationCoefficient: string
in query

Pearson correlation coefficient between cause and effect after lagging by onset delay and grouping by duration of action

updatedAt: string
in query

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.

outcomesOfInterest: boolean
in query

Only include correlations for which the effect is an outcome of interest for the user

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "studies": [
    {
      "type": "string",
      "userId": "integer (int32)",
      "id": "string",
      "causeVariable": {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {}
          ]
        }
      }
    }
  ]
}

Get studies you have created

GET /v3/studies/created

These are studies that you have created.

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

userId: number
in query

User's id

updatedAt: string
in query

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.

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "studies": [
    {
      "type": "string",
      "userId": "integer (int32)",
      "id": "string",
      "causeVariable": {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {}
          ]
        }
      }
    }
  ]
}

Publish Your Study

POST /v3/study/publish

Make a study and all related measurements publicly visible by anyone

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

userId: number
in query

User's id

clientId: string
in query

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

includeCharts: boolean
in query

Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

recalculate: boolean
in query

Recalculate instead of using cached analysis

studyId: string
in query

Client id for the study you want

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Join a Study

POST /v3/study/join

Anonymously share measurements for specified variables

studyId: string
in query

Client id for the study you want

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

userId: number
in query

User's id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
{
  "study": {
    "type": "string",
    "userId": "integer (int32)",
    "id": "string",
    "causeVariable": {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "alias": "string",
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string"
          }
        ]
      }
    }
  }
}

Create a Study

POST /v3/study/create

Create an individual, group, or population study examining the relationship between a predictor and outcome variable. You will be given a study id which you can invite participants to join and share their measurements for the specified variables.

Details about the study you want to create

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Request Example
{
  "causeVariableName": "string",
  "effectVariableName": "string",
  "studyTitle": "string",
  "type": "string"
}

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
{
  "study": {
    "type": "string",
    "userId": "integer (int32)",
    "id": "string",
    "causeVariable": {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "alias": "string",
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string"
          }
        ]
      }
    }
  }
}

Post or update vote

POST /v3/votes

I am really good at finding correlations and even compensating for various onset delays and durations of action. However, you are much better than me at knowing if there's a way that a given factor could plausibly influence an outcome. You can help me learn and get better at my predictions by pressing the thumbs down button for relationships that you think are coincidences and thumbs up once that make logic sense.

Contains the cause variable, effect variable, and vote value.

userId: number
in query

User's id

Request Example
{
  "causeVariableId": "integer",
  "clientId": "string",
  "createdAt": "string",
  "effectVariableId": "integer",
  "id": "integer (int32)",
  "updatedAt": "string",
  "userId": "integer (int32)",
  "value": "string",
  "type": "string"
}
201 Created

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Delete vote

DELETE /v3/votes/delete

Delete previously posted vote

The cause and effect variable names for the predictor vote to be deleted.

userId: number
in query

User's id

Request Example
{
  "cause": "string",
  "effect": "string"
}
204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Get Study

GET /v4/study

Get Study

causeVariableName: string
in query

Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration

effectVariableName: string
in query

Deprecated: Name of the outcome variable of interest. Ex: Overall Mood

causeVariableId: integer
in query

Variable id of the hypothetical predictor variable. Ex: 1398

effectVariableId: integer
in query

Variable id of the outcome variable of interest. Ex: 1398

predictorVariableName: string
in query

Name of the hypothetical predictor variable. Ex: Sleep Duration

outcomeVariableName: string
in query

Name of the outcome variable of interest. Ex: Overall Mood

userId: number
in query

User's id

clientId: string
in query

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

includeCharts: boolean
in query

Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

recalculate: boolean
in query

Recalculate instead of using cached analysis

studyId: string
in query

Client id for the study you want

200 OK

Successful operation

401 Unauthorized

Successful operation

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
{
  "type": "string",
  "userId": "integer (int32)",
  "id": "string",
  "causeVariable": {
    "actionArray": [
      {
        "action": "string",
        "callback": "string",
        "modifiedValue": "integer",
        "title": "string",
        "longTitle": "string",
        "shortTitle": "string"
      }
    ],
    "alias": "string",
    "availableUnits": [
      {
        "abbreviatedName": "string",
        "advanced": "integer",
        "category": "string",
        "categoryId": "integer",
        "categoryName": "string",
        "conversionSteps": [
          {
            "operation": "string",
            "value": "number (double)"
          }
        ],
        "id": "integer",
        "manualTracking": "integer",
        "maximumAllowedValue": "number (double)",
        "maximumValue": "integer",
        "minimumAllowedValue": "number (double)",
        "minimumValue": "integer",
        "name": "string",
        "unitCategory": {
          "id": "integer",
          "name": "string",
          "standardUnitAbbreviatedName": "string"
        }
      }
    ],
    "bestStudyLink": "string",
    "bestStudyCard": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string"
        }
      ]
    }
  }
}
Response Example (401 Unauthorized)
{
  "message": "string",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

AppSettings

Get client app settings

GET /v3/appSettings

Get the settings for your application configurable at https://build.quantimo.do

clientId: string
in query

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

client_secret: string
in query

This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at https://builder.quantimo.do.

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Successful operation

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
{
  "appSettings": {
    "additionalSettings": "object",
    "appDescription": "string",
    "appDesign": "object",
    "appDisplayName": "string",
    "appStatus": "object",
    "appType": "string",
    "buildEnabled": "string",
    "clientId": "string",
    "clientSecret": "string",
    "collaborators": [
      {
        "accessToken": "string",
        "accessTokenExpires": "string",
        "accessTokenExpiresAtMilliseconds": "integer",
        "administrator": "boolean",
        "authorizedClients": {
          "apps": [
            {
              "additionalSettings": "object",
              "appDescription": "string",
              "appDesign": "object",
              "appDisplayName": "string",
              "appStatus": "object",
              "appType": "string",
              "buildEnabled": "string",
              "clientId": "string",
              "clientSecret": "string",
              "collaborators": [
                {
                  "accessToken": "string",
                  "accessTokenExpires": "string",
                  "accessTokenExpiresAtMilliseconds": "integer",
                  "administrator": "boolean",
                  "authorizedClients": {
                    "apps": [
                      {
                        "additionalSettings": "object",
                        "appDescription": "string",
                        "appDesign": "object",
                        "appDisplayName": "string",
                        "appStatus": "object",
                        "appType": "string",
                        "buildEnabled": "string",
                        "clientId": "string",
                        "clientSecret": "string",
                        "collaborators": [
                          {
                            "accessToken": "string",
                            "accessTokenExpires": "string",
                            "accessTokenExpiresAtMilliseconds": "integer",
                            "administrator": "boolean",
                            "authorizedClients": {
                              "apps": [
                                {
                                  "additionalSettings": "object",
                                  "appDescription": "string",
                                  "appDesign": "object",
                                  "appDisplayName": "string",
                                  "appStatus": "object",
                                  "appType": "string",
                                  "buildEnabled": "string",
                                  "clientId": "string",
                                  "clientSecret": "string",
                                  "collaborators": [
                                    {
                                      "accessToken": "string",
                                      "accessTokenExpires": "string",
                                      "accessTokenExpiresAtMilliseconds": "integer",
                                      "administrator": "boolean",
                                      "authorizedClients": {
                                        "apps": [
                                          {
                                            "additionalSettings": "object",
                                            "appDescription": "string",
                                            "appDesign": "object",
                                            "appDisplayName": "string",
                                            "appStatus": "object",
                                            "appType": "string",
                                            "buildEnabled": "string",
                                            "clientId": "string",
                                            "clientSecret": "string",
                                            "collaborators": [
                                              {}
                                            ]
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    ]
  }
}
Response Example (401 Unauthorized)
{
  "message": "string",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

notifications

Post DeviceTokens

POST /v3/deviceTokens

Post user token for Android, iOS, or web push notifications

The platform and token

Request Example
{
  "clientId": "string",
  "platform": "string",
  "deviceToken": "string"
}
201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json

Get NotificationPreferences

GET /v3/notificationPreferences

Get NotificationPreferences

200 OK

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json

feed

Tracking reminder notifications, messages, and study results

GET /v3/feed

Tracking reminder notifications, messages, and study results

sort: string
in query

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

userId: number
in query

User's id

createdAt: string
in query

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
in query

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 100
in query

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 x ≥ 0
in query

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.

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

200 OK

Successful operation

Response Content-Types: application/json
Response Example (200 OK)
{
  "cards": [
    {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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": "integer",
          "maxValue": "number",
          "minLength": "integer",
          "minValue": "number"
        }
      ]
    }
  ]
}

Post user interactions with feed

POST /v3/feed

Post user actions on feed cards

Id of the tracking reminder notification to be snoozed

Array of cards to take action on

Card
userId: number
in query

User's id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Request Example
[
  {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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": "integer",
        "maxValue": "number",
        "minLength": "integer",
        "minValue": "number",
        "options": [
          "string"
        ]
      }
    ]
  }
]
201 Created

Returns new feed cards

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (201 Created)
{
  "cards": [
    {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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": "integer",
          "maxValue": "number",
          "minLength": "integer",
          "minValue": "number"
        }
      ]
    }
  ]
}

authentication

Post GoogleIdToken

POST /v3/googleIdToken

Post GoogleIdToken

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json

Request Authorization Code

GET /v3/oauth2/authorize

You can implement OAuth2 authentication to your application using our OAuth2 endpoints. You need to redirect users to /api/v3/oauth2/authorize endpoint to get an authorization code and include the parameters below. This page will ask the user if they want to allow a client's application to submit or obtain data from their QM account. It will redirect the user to the url provided by the client application with the code as a query parameter or error in case of an error. See the /api/v1/oauth/access_token endpoint for the next steps.

clientId: string
in query

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

client_secret: string
in query

This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at https://builder.quantimo.do.

response_type: string
in query

If the value is code, launches a Basic flow, requiring a POST to the token endpoint to obtain the tokens. If the value is token id_token or id_token token, launches an Implicit flow, requiring the use of Javascript at the redirect URI to retrieve tokens from the URI #fragment.

scope: string
in query

Scopes include basic, readmeasurements, and writemeasurements. The basic scope allows you to read user info (displayName, email, etc). The readmeasurements scope allows one to read a user's data. The writemeasurements scope allows you to write user data. Separate multiple scopes by a space.

redirect_uri: string
in query

The redirect URI is the URL within your client application that will receive the OAuth2 credentials.

state: string
in query

An opaque string that is round-tripped in the protocol; that is to say, it is returned as a URI parameter in the Basic flow, and in the URI

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

200 OK

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json

Get a user access token

GET /v3/oauth2/token

Client provides authorization token obtained from /api/v3/oauth2/authorize to this endpoint and receives an access token. Access token can then be used to query API endpoints. ### Request Access Token After user approves your access to the given scope form the https:/app.quantimo.do/v1/oauth2/authorize endpoint, you'll receive an authorization code to request an access token. This time make a POST request to /api/v1/oauth/access_token with parameters including: * grant_type Can be authorization_code or refresh_token since we are getting the access_token for the first time we don't have a refresh_token so this must be authorization_code. * code Authorization code you received with the previous request. * redirect_uri Your application's redirect url. ### Refreshing Access Token Access tokens expire at some point, to continue using our api you need to refresh them with refresh_token you received along with the access_token. To do this make a POST request to /api/v1/oauth/access_token with correct parameters, which are: * grant_type This time grant type must be refresh_token since we have it. * clientId Your application's client id. * client_secret Your application's client secret. * refresh_token The refresh token you received with the access_token. Every request you make to this endpoint will give you a new refresh token and make the old one expired. So you can keep getting new access tokens with new refresh tokens. ### Using Access Token Currently we support 2 ways for this, you can't use both at the same time. * Adding access token to the request header as Authorization: Bearer {access_token} * Adding to the url as a query parameter ?access_token={access_token} You can read more about OAuth2 from here

clientId: string
in query

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

client_secret: string
in query

This is the secret for your obtained clientId. We use this to ensure that only your application uses the clientId. Obtain this by creating a free application at https://builder.quantimo.do.

grant_type: string
in query

Grant Type can be 'authorization_code' or 'refresh_token'

code: string
in query

Authorization code you received with the previous request.

response_type: string
in query

If the value is code, launches a Basic flow, requiring a POST to the token endpoint to obtain the tokens. If the value is token id_token or id_token token, launches an Implicit flow, requiring the use of Javascript at the redirect URI to retrieve tokens from the URI #fragment.

scope: string
in query

Scopes include basic, readmeasurements, and writemeasurements. The basic scope allows you to read user info (displayName, email, etc). The readmeasurements scope allows one to read a user's data. The writemeasurements scope allows you to write user data. Separate multiple scopes by a space.

redirect_uri: string
in query

The redirect URI is the URL within your client application that will receive the OAuth2 credentials.

state: string
in query

An opaque string that is round-tripped in the protocol; that is to say, it is returned as a URI parameter in the Basic flow, and in the URI

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

200 OK

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json

shares

Get Authorized Apps, Studies, and Individuals

GET /v3/shares

This is a list of individuals, apps, or studies with access to your measurements.

userId: number
in query

User's id

createdAt: string
in query

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
in query

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.

clientId: string
in query

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

appVersion: string
in query

Ex: 2.1.1.0

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

log: string
in query

Username or email

pwd: string
in query

User password

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (200 OK)
{
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object",
                                                "appType": "string",
                                                "buildEnabled": "string",
                                                "clientId": "string",
                                                "clientSecret": "string"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Delete share

POST /v3/shares/delete

Remove access to user data for a given client_id associated with a given individual, app, or study

clientIdToRevoke: string
in query

Client id of the individual, study, or app that the user wishes to no longer have access to their data

reason: string
in query

Ex: I hate you!

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "accessToken": "string",
  "accessTokenExpires": "string",
  "accessTokenExpiresAtMilliseconds": "integer",
  "administrator": "boolean",
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Delete share

POST /v3/shares/invite

Invite someone to view your measurements

Details about person to share with

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

clientId: string
in query

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

Request Example
{
  "emailAddress": "string",
  "name": "string",
  "emailSubject": "string",
  "emailBody": "string",
  "scopes": "string"
}
204 No Content

Successful Operation

401 Unauthorized

Not Authenticated

Response Content-Types: application/json
Response Example (204 No Content)
{
  "accessToken": "string",
  "accessTokenExpires": "string",
  "accessTokenExpiresAtMilliseconds": "integer",
  "administrator": "boolean",
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

Activities

Get Activities

GET /v3/activities

Get Activities

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "activities": [
      {
        "id": "integer",
        "userId": "integer",
        "component": "string",
        "type": "string",
        "action": "string",
        "content": "string",
        "primaryLink": "string",
        "itemId": "integer",
        "secondaryItemId": "integer",
        "dateRecorded": "string",
        "hideSitewide": "integer",
        "mpttLeft": "integer",
        "mpttRight": "integer",
        "isSpam": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string"
        }
      ]
    }
  }
]

Post Activities

POST /v3/activities

Post Activities

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "activities": [
      {
        "id": "integer",
        "userId": "integer",
        "component": "string",
        "type": "string",
        "action": "string",
        "content": "string",
        "primaryLink": "string",
        "itemId": "integer",
        "secondaryItemId": "integer",
        "dateRecorded": "string",
        "hideSitewide": "integer",
        "mpttLeft": "integer",
        "mpttRight": "integer",
        "isSpam": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string"
        }
      ]
    }
  }
]

Friends

Get Friends

GET /v3/friends

Get Friends

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "friends": [
      {
        "id": "integer",
        "initiatorUserId": "integer",
        "friendUserId": "integer",
        "isConfirmed": "integer",
        "isLimited": "integer",
        "dateCreated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Post Friends

POST /v3/friends

Post Friends

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "friends": [
      {
        "id": "integer",
        "initiatorUserId": "integer",
        "friendUserId": "integer",
        "isConfirmed": "integer",
        "isLimited": "integer",
        "dateCreated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Groups

Get Groups

GET /v3/groups

Get Groups

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "groups": [
      {
        "id": "integer",
        "creatorId": "integer",
        "name": "string",
        "slug": "string",
        "description": "string",
        "status": "string",
        "parentId": "integer",
        "enableForum": "integer",
        "dateCreated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string"
        }
      ]
    }
  }
]

Post Groups

POST /v3/groups

Post Groups

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "groups": [
      {
        "id": "integer",
        "creatorId": "integer",
        "name": "string",
        "slug": "string",
        "description": "string",
        "status": "string",
        "parentId": "integer",
        "enableForum": "integer",
        "dateCreated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string"
        }
      ]
    }
  }
]

Get GroupsMembers

GET /v3/groupsMembers

Get GroupsMembers

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "groupsMembers": [
      {
        "id": "integer",
        "groupId": "integer",
        "userId": "integer",
        "inviterId": "integer",
        "isAdmin": "integer",
        "isMod": "integer",
        "userTitle": "string",
        "dateModified": "string",
        "comments": "string",
        "isConfirmed": "integer",
        "isBanned": "integer",
        "inviteSent": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Post GroupsMembers

POST /v3/groupsMembers

Post GroupsMembers

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "groupsMembers": [
      {
        "id": "integer",
        "groupId": "integer",
        "userId": "integer",
        "inviterId": "integer",
        "isAdmin": "integer",
        "isMod": "integer",
        "userTitle": "string",
        "dateModified": "string",
        "comments": "string",
        "isConfirmed": "integer",
        "isBanned": "integer",
        "inviteSent": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Messages

Get MessagesMessages

GET /v3/messagesMessages

Get MessagesMessages

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "messagesMessages": [
      {
        "id": "integer",
        "threadId": "integer",
        "senderId": "integer",
        "subject": "string",
        "message": "string",
        "dateSent": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Post MessagesMessages

POST /v3/messagesMessages

Post MessagesMessages

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "messagesMessages": [
      {
        "id": "integer",
        "threadId": "integer",
        "senderId": "integer",
        "subject": "string",
        "message": "string",
        "dateSent": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Get MessagesNotices

GET /v3/messagesNotices

Get MessagesNotices

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "messagesNotices": [
      {
        "id": "integer",
        "subject": "string",
        "message": "string",
        "dateSent": "string",
        "isActive": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "error": "string",
    "errorMessage": "string",
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string"
        }
      ]
    }
  }
]

Post MessagesNotices

POST /v3/messagesNotices

Post MessagesNotices

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "messagesNotices": [
      {
        "id": "integer",
        "subject": "string",
        "message": "string",
        "dateSent": "string",
        "isActive": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "error": "string",
    "errorMessage": "string",
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string"
        }
      ]
    }
  }
]

Get MessagesRecipients

GET /v3/messagesRecipients

Get MessagesRecipients

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "messagesRecipients": [
      {
        "id": "integer",
        "userId": "integer",
        "threadId": "integer",
        "unreadCount": "integer",
        "senderOnly": "integer",
        "isDeleted": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Post MessagesRecipients

POST /v3/messagesRecipients

Post MessagesRecipients

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "messagesRecipients": [
      {
        "id": "integer",
        "userId": "integer",
        "threadId": "integer",
        "unreadCount": "integer",
        "senderOnly": "integer",
        "isDeleted": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object"
        }
      ]
    }
  }
]

Notifications

Get Notifications

GET /v3/notifications

Get Notifications

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "notifications": [
      {
        "id": "integer",
        "userId": "integer",
        "itemId": "integer",
        "secondaryItemId": "integer",
        "componentName": "string",
        "componentAction": "string",
        "dateNotified": "string",
        "isNew": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string"
        }
      ]
    }
  }
]

Post Notifications

POST /v3/notifications

Post Notifications

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "notifications": [
      {
        "id": "integer",
        "userId": "integer",
        "itemId": "integer",
        "secondaryItemId": "integer",
        "componentName": "string",
        "componentAction": "string",
        "dateNotified": "string",
        "isNew": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string"
        }
      ]
    }
  }
]

User

Get UserBlogs

GET /v3/userBlogs

Get UserBlogs

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "userBlogs": [
      {
        "id": "integer",
        "userId": "integer",
        "blogId": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string"
        }
      ]
    }
  }
]

Post UserBlogs

POST /v3/userBlogs

Post UserBlogs

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "userBlogs": [
      {
        "id": "integer",
        "userId": "integer",
        "blogId": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string"
        }
      ]
    }
  }
]

Xprofile

Get XprofileData

GET /v3/xprofileData

Get XprofileData

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "xprofileData": [
      {
        "id": "integer",
        "fieldId": "integer",
        "userId": "integer",
        "value": "string",
        "lastUpdated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string"
        }
      ]
    }
  }
]

Post XprofileData

POST /v3/xprofileData

Post XprofileData

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

201 Created

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "xprofileData": [
      {
        "id": "integer",
        "fieldId": "integer",
        "userId": "integer",
        "value": "string",
        "lastUpdated": "string",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string"
        }
      ]
    }
  }
]

Get XprofileFields

GET /v3/xprofileFields

Get XprofileFields

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "xprofileFields": [
      {
        "id": "integer",
        "groupId": "integer",
        "parentId": "integer",
        "type": "string",
        "name": "string",
        "description": "string",
        "isRequired": "integer",
        "isDefaultOption": "integer",
        "fieldOrder": "integer",
        "optionOrder": "integer",
        "orderBy": "string",
        "canDelete": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Post XprofileFields

POST /v3/xprofileFields

Post XprofileFields

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "xprofileFields": [
      {
        "id": "integer",
        "groupId": "integer",
        "parentId": "integer",
        "type": "string",
        "name": "string",
        "description": "string",
        "isRequired": "integer",
        "isDefaultOption": "integer",
        "fieldOrder": "integer",
        "optionOrder": "integer",
        "orderBy": "string",
        "canDelete": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string"
        }
      ]
    }
  }
]

Get XprofileGroups

GET /v3/xprofileGroups

Get XprofileGroups

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (200 OK)
[
  {
    "xprofileGroups": [
      {
        "id": "integer",
        "name": "string",
        "description": "string",
        "groupOrder": "integer",
        "canDelete": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string"
        }
      ]
    }
  }
]

Post XprofileGroups

POST /v3/xprofileGroups

Post XprofileGroups

sort: string
in query

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

limit: integer 100
in query

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 x ≥ 0
in query

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.

updatedAt: string
in query

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.

userId: number
in query

User's id

createdAt: string
in query

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.

id: integer
in query

Id

clientId: string
in query

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

platform: string chrome, android, ios, web
in query

Ex: chrome, android, ios, web

Successful operation

401 Unauthorized

Not authenticated

404 Not Found

Not found

500 Internal Server Error

Internal server error

Response Content-Types: application/json
Response Example (201 Created)
[
  {
    "xprofileGroups": [
      {
        "id": "integer",
        "name": "string",
        "description": "string",
        "groupOrder": "integer",
        "canDelete": "integer",
        "metaDataArray": [
          "object"
        ]
      }
    ],
    "description": "string",
    "summary": "string",
    "image": {
      "height": "string",
      "imageUrl": "string",
      "width": "string"
    },
    "avatar": "string",
    "ionIcon": "string",
    "html": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string"
        }
      ]
    }
  }
]

Schema Definitions

AppSettings:

additionalSettings: object

What do you expect?

appDescription: string

What do you expect?

appDesign: object

What do you expect?

appDisplayName: string

What do you expect?

appStatus: object

What do you expect?

appType: string

What do you expect?

buildEnabled: string

What do you expect?

clientId: string

Get yours at https:://builder.quantimo.do

clientSecret: string

Get yours at https:://builder.quantimo.do

collaborators: User

What do you expect?

User
createdAt: string

What do you expect?

userId: integer (int32)

User id of the owner of the application

users: User

What do you expect?

User
redirectUri: string

What do you expect?

companyName: string

What do you expect?

homepageUrl: string

What do you expect?

iconUrl: string

What do you expect?

longDescription: string

What do you expect?

splashScreen: string

What do you expect?

textLogo: string

What do you expect?

Example
{
  "additionalSettings": "object",
  "appDescription": "string",
  "appDesign": "object",
  "appDisplayName": "string",
  "appStatus": "object",
  "appType": "string",
  "buildEnabled": "string",
  "clientId": "string",
  "clientSecret": "string",
  "collaborators": [
    {
      "accessToken": "string",
      "accessTokenExpires": "string",
      "accessTokenExpiresAtMilliseconds": "integer",
      "administrator": "boolean",
      "authorizedClients": {
        "apps": [
          {
            "additionalSettings": "object",
            "appDescription": "string",
            "appDesign": "object",
            "appDisplayName": "string",
            "appStatus": "object",
            "appType": "string",
            "buildEnabled": "string",
            "clientId": "string",
            "clientSecret": "string",
            "collaborators": [
              {
                "accessToken": "string",
                "accessTokenExpires": "string",
                "accessTokenExpiresAtMilliseconds": "integer",
                "administrator": "boolean",
                "authorizedClients": {
                  "apps": [
                    {
                      "additionalSettings": "object",
                      "appDescription": "string",
                      "appDesign": "object",
                      "appDisplayName": "string",
                      "appStatus": "object",
                      "appType": "string",
                      "buildEnabled": "string",
                      "clientId": "string",
                      "clientSecret": "string",
                      "collaborators": [
                        {
                          "accessToken": "string",
                          "accessTokenExpires": "string",
                          "accessTokenExpiresAtMilliseconds": "integer",
                          "administrator": "boolean",
                          "authorizedClients": {
                            "apps": [
                              {
                                "additionalSettings": "object",
                                "appDescription": "string",
                                "appDesign": "object",
                                "appDisplayName": "string",
                                "appStatus": "object",
                                "appType": "string",
                                "buildEnabled": "string",
                                "clientId": "string",
                                "clientSecret": "string",
                                "collaborators": [
                                  {
                                    "accessToken": "string",
                                    "accessTokenExpires": "string",
                                    "accessTokenExpiresAtMilliseconds": "integer",
                                    "administrator": "boolean",
                                    "authorizedClients": {
                                      "apps": [
                                        {
                                          "additionalSettings": "object",
                                          "appDescription": "string",
                                          "appDesign": "object",
                                          "appDisplayName": "string",
                                          "appStatus": "object",
                                          "appType": "string",
                                          "buildEnabled": "string",
                                          "clientId": "string",
                                          "clientSecret": "string",
                                          "collaborators": [
                                            {
                                              "accessToken": "string",
                                              "accessTokenExpires": "string",
                                              "accessTokenExpiresAtMilliseconds": "integer"
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ]
}

AppSettingsResponse:

appSettings: AppSettings
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "appSettings": {
    "additionalSettings": "object",
    "appDescription": "string",
    "appDesign": "object",
    "appDisplayName": "string",
    "appStatus": "object",
    "appType": "string",
    "buildEnabled": "string",
    "clientId": "string",
    "clientSecret": "string",
    "collaborators": [
      {
        "accessToken": "string",
        "accessTokenExpires": "string",
        "accessTokenExpiresAtMilliseconds": "integer",
        "administrator": "boolean",
        "authorizedClients": {
          "apps": [
            {
              "additionalSettings": "object",
              "appDescription": "string",
              "appDesign": "object",
              "appDisplayName": "string",
              "appStatus": "object",
              "appType": "string",
              "buildEnabled": "string",
              "clientId": "string",
              "clientSecret": "string",
              "collaborators": [
                {
                  "accessToken": "string",
                  "accessTokenExpires": "string",
                  "accessTokenExpiresAtMilliseconds": "integer",
                  "administrator": "boolean",
                  "authorizedClients": {
                    "apps": [
                      {
                        "additionalSettings": "object",
                        "appDescription": "string",
                        "appDesign": "object",
                        "appDisplayName": "string",
                        "appStatus": "object",
                        "appType": "string",
                        "buildEnabled": "string",
                        "clientId": "string",
                        "clientSecret": "string",
                        "collaborators": [
                          {
                            "accessToken": "string",
                            "accessTokenExpires": "string",
                            "accessTokenExpiresAtMilliseconds": "integer",
                            "administrator": "boolean",
                            "authorizedClients": {
                              "apps": [
                                {
                                  "additionalSettings": "object",
                                  "appDescription": "string",
                                  "appDesign": "object",
                                  "appDisplayName": "string",
                                  "appStatus": "object",
                                  "appType": "string",
                                  "buildEnabled": "string",
                                  "clientId": "string",
                                  "clientSecret": "string",
                                  "collaborators": [
                                    {
                                      "accessToken": "string",
                                      "accessTokenExpires": "string",
                                      "accessTokenExpiresAtMilliseconds": "integer",
                                      "administrator": "boolean",
                                      "authorizedClients": {
                                        "apps": [
                                          {
                                            "additionalSettings": "object",
                                            "appDescription": "string",
                                            "appDesign": "object",
                                            "appDisplayName": "string",
                                            "appStatus": "object",
                                            "appType": "string",
                                            "buildEnabled": "string",
                                            "clientId": "string",
                                            "clientSecret": "string",
                                            "collaborators": [
                                              {
                                                "accessToken": "string"
                                              }
                                            ]
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

AuthorizedClients:

apps: AppSettings

Applications with access to user measurements for all variables

AppSettings
individuals: AppSettings

Individuals such as physicians or family members with access to user measurements for all variables

AppSettings
studies: AppSettings

Studies with access to generally anonymous user measurements for a specific predictor and outcome variable

AppSettings
Example
{
  "apps": [
    {
      "additionalSettings": "object",
      "appDescription": "string",
      "appDesign": "object",
      "appDisplayName": "string",
      "appStatus": "object",
      "appType": "string",
      "buildEnabled": "string",
      "clientId": "string",
      "clientSecret": "string",
      "collaborators": [
        {
          "accessToken": "string",
          "accessTokenExpires": "string",
          "accessTokenExpiresAtMilliseconds": "integer",
          "administrator": "boolean",
          "authorizedClients": {
            "apps": [
              {
                "additionalSettings": "object",
                "appDescription": "string",
                "appDesign": "object",
                "appDisplayName": "string",
                "appStatus": "object",
                "appType": "string",
                "buildEnabled": "string",
                "clientId": "string",
                "clientSecret": "string",
                "collaborators": [
                  {
                    "accessToken": "string",
                    "accessTokenExpires": "string",
                    "accessTokenExpiresAtMilliseconds": "integer",
                    "administrator": "boolean",
                    "authorizedClients": {
                      "apps": [
                        {
                          "additionalSettings": "object",
                          "appDescription": "string",
                          "appDesign": "object",
                          "appDisplayName": "string",
                          "appStatus": "object",
                          "appType": "string",
                          "buildEnabled": "string",
                          "clientId": "string",
                          "clientSecret": "string",
                          "collaborators": [
                            {
                              "accessToken": "string",
                              "accessTokenExpires": "string",
                              "accessTokenExpiresAtMilliseconds": "integer",
                              "administrator": "boolean",
                              "authorizedClients": {
                                "apps": [
                                  {
                                    "additionalSettings": "object",
                                    "appDescription": "string",
                                    "appDesign": "object",
                                    "appDisplayName": "string",
                                    "appStatus": "object",
                                    "appType": "string",
                                    "buildEnabled": "string",
                                    "clientId": "string",
                                    "clientSecret": "string",
                                    "collaborators": [
                                      {
                                        "accessToken": "string",
                                        "accessTokenExpires": "string",
                                        "accessTokenExpiresAtMilliseconds": "integer",
                                        "administrator": "boolean",
                                        "authorizedClients": {
                                          "apps": [
                                            {
                                              "additionalSettings": "object",
                                              "appDescription": "string",
                                              "appDesign": "object",
                                              "appDisplayName": "string",
                                              "appStatus": "object",
                                              "appType": "string",
                                              "buildEnabled": "string",
                                              "clientId": "string",
                                              "clientSecret": "string",
                                              "collaborators": [
                                                {}
                                              ]
                                            }
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      ]
    }
  ]
}

Button:

accessibilityText: string

Ex: connect

action: object

Action data

additionalInformation: string

Ex: connect

color: string

Ex: #f2f2f2

confirmationText: string

Text to show user before executing functionName

functionName: string

Name of function to call

parameters: object

Data to provide to functionName or be copied to the card parameters when button is clicked and card is posted to the API

html: string

Ex: connect

id: string

HTML element id

image: string

Ex: https://image.jpg

ionIcon: string

Ex: ion-refresh

link: string

Ex: https://local.quantimo.do

stateName: string

State to go to

stateParams: object

Data to provide to the state

successToastText: string

Text to show user after executing functionName

successAlertTitle: string

Text to show user after executing functionName

successAlertBody: string

Text to show user after executing functionName

text: string

Ex: Connect

tooltip: string

Ex: This is a tooltip

webhookUrl: string

Post here on button click

Example
{
  "accessibilityText": "string",
  "action": "object",
  "additionalInformation": "string",
  "color": "string",
  "confirmationText": "string",
  "functionName": "string",
  "parameters": "object",
  "html": "string",
  "id": "string",
  "image": "string",
  "ionIcon": "string",
  "link": "string",
  "stateName": "string",
  "stateParams": "object",
  "successToastText": "string",
  "successAlertTitle": "string",
  "successAlertBody": "string",
  "text": "string",
  "tooltip": "string",
  "webhookUrl": "string"
}

Card:

actionSheetButtons: Button
Button
avatar: string

Smaller square image

avatarCircular: string

Smaller circular image

backgroundColor: string

Ex: #f2f2f2

buttons: Button
Button
buttonsSecondary: Button
Button
content: string

Ex: Content

headerTitle: string

Ex: Title

html: string

HTML for the entire card.

htmlContent: string

Ex:

Content

id: string

HTML element id

image: string

Larger image of variable dimensions

inputFields: InputField
InputField
ionIcon: string

Ex: ion-refresh

link: string

A link to a web page or something. Not much more to say about that.

parameters: object

Key value pairs derived from user input fields, button clicks, or preset defaults

relatedCards: Card
Card
selectedButton: Button

Button that the user clicked and the provided function parameters

sharingBody: string

Ex: sharingBody

sharingButtons: Button
Button
sharingTitle: string

Ex: sharingTitle

subHeader: string

Ex: subTitle

subTitle: string

Ex: subTitle

title: string

Ex: Title

Example
{
  "actionSheetButtons": [
    {
      "accessibilityText": "string",
      "action": "object",
      "additionalInformation": "string",
      "color": "string",
      "confirmationText": "string",
      "functionName": "string",
      "parameters": "object",
      "html": "string",
      "id": "string",
      "image": "string",
      "ionIcon": "string",
      "link": "string",
      "stateName": "string",
      "stateParams": "object",
      "successToastText": "string",
      "successAlertTitle": "string",
      "successAlertBody": "string",
      "text": "string",
      "tooltip": "string",
      "webhookUrl": "string"
    }
  ],
  "avatar": "string",
  "avatarCircular": "string",
  "backgroundColor": "string",
  "buttons": [
    {
      "accessibilityText": "string",
      "action": "object",
      "additionalInformation": "string",
      "color": "string",
      "confirmationText": "string",
      "functionName": "string",
      "parameters": "object",
      "html": "string",
      "id": "string",
      "image": "string",
      "ionIcon": "string",
      "link": "string",
      "stateName": "string",
      "stateParams": "object",
      "successToastText": "string",
      "successAlertTitle": "string",
      "successAlertBody": "string",
      "text": "string",
      "tooltip": "string",
      "webhookUrl": "string"
    }
  ],
  "buttonsSecondary": [
    {
      "accessibilityText": "string",
      "action": "object",
      "additionalInformation": "string",
      "color": "string",
      "confirmationText": "string",
      "functionName": "string",
      "parameters": "object",
      "html": "string",
      "id": "string",
      "image": "string",
      "ionIcon": "string",
      "link": "string",
      "stateName": "string",
      "stateParams": "object",
      "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": "integer",
      "maxValue": "number",
      "minLength": "integer",
      "minValue": "number",
      "options": [
        "string"
      ],
      "placeholder": "string",
      "postUrl": "string"
    }
  ]
}

Chart:

highchartConfig: object

Highcharts config that can be used if you have highcharts.js included on the page

chartId: string

Ex: correlationScatterPlot

chartTitle: string

Ex: Overall Mood following Sleep Duration (R = -0.173)

explanation: string

Ex: The chart above indicates that an increase in Sleep Duration is usually followed by an decrease in Overall Mood.

svgUrl: string

Url to a static svg of the chart

svg: string

SVG string than can be embedded directly in HTML

Example
{
  "highchartConfig": "object",
  "chartId": "string",
  "chartTitle": "string",
  "explanation": "string",
  "svgUrl": "string",
  "svg": "string"
}

CommonResponse: object

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

ConnectInstructions:

parameters: object[]

Create a form with these fields and post the key and user submitted value to the provided connect url

object
url: string

URL to open to connect

usePopup: boolean

True if should open auth window in popup

Example
{
  "parameters": [
    "object"
  ],
  "url": "string",
  "usePopup": "boolean"
}

ConversionStep:

operation: string ADD, MULTIPLY

ADD or MULTIPLY

value: number (double)

This specifies the order of conversion steps starting with 0

Example
{
  "operation": "string",
  "value": "number (double)"
}

Correlation:

averageDailyHighCause: number (double)

Ex: 4.19

averageDailyLowCause: number (double)

Ex: 1.97

averageEffect: number (double)

Ex: 3.0791054117396

averageEffectFollowingHighCause: number (double)

Ex: 3.55

averageEffectFollowingLowCause: number (double)

Ex: 2.65

averageForwardPearsonCorrelationOverOnsetDelays: number (double)

Ex: 0.396

averageReversePearsonCorrelationOverOnsetDelays: number (double)

Ex: 0.453667

averageVote: number

Ex: 0.9855

causeChanges: integer

Ex: 164

causeDataSource: DataSource
causeUserVariableShareUserMeasurements: integer

Ex: 1

causeVariableCategoryId: integer

Ex: 6

causeVariableCategoryName: string

Ex: Sleep

causeVariableCombinationOperation: string

Ex: MEAN

causeVariableUnitAbbreviatedName: string

Ex: /5

causeVariableId: integer

Ex: 1448

causeVariableMostCommonConnectorId: integer

Ex: 6

causeVariableName: string

Ex: Sleep Quality

confidenceInterval: number (double)

Ex: 0.14344467795996

confidenceLevel: string

Ex: high

correlationCoefficient: number (double)

Ex: 0.538

correlationIsContradictoryToOptimalValues: boolean

Ex: false

createdAt: string

Ex: 2016-12-28 20:47:30 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

criticalTValue: number (double)

Calculated Statistic: Ex: 1.646

direction: string

Ex: higher

durationOfAction: integer

User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds

durationOfActionInHours: number (float)

User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Hours

degreesOfFreedom: integer

Ex: 200

effectNumberOfProcessedDailyMeasurements: integer

Ex: 145

error: string

Ex: optimalPearsonProduct is not defined

effectChanges: integer

Ex: 193

effectDataSource: DataSource
effectSize: string

Ex: moderately positive

effectUnit: string

Ex: /5

effectUserVariableShareUserMeasurements: integer

Ex: 1

effectVariableCategoryId: integer

Ex: 1

effectVariableCategoryName: string

Ex: Emotions

effectVariableCombinationOperation: string

Ex: MEAN

effectVariableCommonAlias: string

Ex: Mood_(psychology)

effectVariableUnitAbbreviatedName: string

Ex: /5

effectVariableUnitId: integer

Ex: 10

effectVariableUnitName: string

Ex: 1 to 5 Rating

effectVariableId: integer

Ex: 1398

effectVariableMostCommonConnectorId: integer

Ex: 10

effectVariableName: string

Ex: Overall Mood

experimentEndTime: string

Ex: 2014-07-30 12:50:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

experimentStartTime: string

Ex: 2012-05-06 21:15:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

forwardSpearmanCorrelationCoefficient: number (double)

Ex: 0.528359

numberOfPairs: integer

Ex: 298

onsetDelay: integer

Ex: 0

onsetDelayInHours: number (float)

Ex: 0

onsetDelayWithStrongestPearsonCorrelation: integer

Ex: -86400

onsetDelayWithStrongestPearsonCorrelationInHours: number (float)

Ex: -24

optimalPearsonProduct: number (double)

Ex: 0.68582816186982

outcomeFillingValue: integer

User-Defined Variable Setting: Ex: -1. Unit: User-specified or common.

outcomeMaximumAllowedValue: number (double)

User-Defined Variable Setting: Ex: 23. Unit: User-specified or common.

outcomeMinimumAllowedValue: number (double)

User-Defined Variable Setting: Ex: 0.1. Unit: User-specified or common.

pearsonCorrelationWithNoOnsetDelay: number (double)

Ex: 0.477

predictivePearsonCorrelation: number (double)

Ex: 0.538

predictivePearsonCorrelationCoefficient: number (double)

Ex: 0.538

predictorDataSources: string

Ex: RescueTime

predictorFillingValue: integer

Ex: -1. Unit: User-specified or common.

predictorMaximumAllowedValue: number (double)

Ex: 200. Unit: User-specified or common.

predictorMinimumAllowedValue: number (double)

Ex: 30. Unit: User-specified or common.

predictsHighEffectChange: integer

Ex: 17. Unit: User-specified or common.

predictsLowEffectChange: integer

Ex: -11. Unit: User-specified or common.

pValue: number (double)

Ex: 0.39628900511586

qmScore: number (double)

Ex: 0.528

reversePearsonCorrelationCoefficient: number (double)

Ex: 0.01377184270977

shareUserMeasurements: boolean

Would you like to make this study publicly visible?

sharingDescription: string

Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood

sharingTitle: string

Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood

significantDifference: boolean

Ex: 1

statisticalSignificance: number (double)

Ex: 0.9813

strengthLevel: string

Ex: moderate

strongestPearsonCorrelationCoefficient: number (double)

Ex: 0.613

studyHtml: StudyHtml
studyImages: StudyImages
studyLinks: StudyLinks
studyText: StudyText
tValue: number (double)

Ex: 9.6986079652717

updatedAt: string

Ex: 2017-05-06 15:40:38 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

userId: integer

Ex: 230

userVote: integer

Ex: 1

valuePredictingHighOutcome: number (double)

Ex: 4.14

valuePredictingLowOutcome: number (double)

Ex: 3.03

outcomeDataSources: string

original name of the cause.

principalInvestigator: string

Mike Sinn

reverseCorrelation: number

Correlation when cause and effect are reversed. For any causal relationship, the forward correlation should exceed the reverse correlation.

averagePearsonCorrelationCoefficientOverOnsetDelays: string

Ex:

causeNumberOfRawMeasurements: integer

Ex: 14764

correlationsOverDurationsOfAction: string

Ex:

correlationsOverDurationsOfActionChartConfig: string

Ex:

correlationsOverOnsetDelaysChartConfig: string

Ex:

numberOfUsers: number

Ex: 1

rawCauseMeasurementSignificance: number (double)

Ex: 1

rawEffectMeasurementSignificance: number (double)

Ex: 1

reversePairsCount: string

Ex: 1

voteStatisticalSignificance: integer

Ex: 1

aggregateQMScore: number (double)

Ex: 0.011598441286655

forwardPearsonCorrelationCoefficient: number (double)

Ex: 0.0333

numberOfCorrelations: integer

Ex: 6

vote: number

Ex: 1 or 0

Example
{
  "averageDailyHighCause": "number (double)",
  "averageDailyLowCause": "number (double)",
  "averageEffect": "number (double)",
  "averageEffectFollowingHighCause": "number (double)",
  "averageEffectFollowingLowCause": "number (double)",
  "averageForwardPearsonCorrelationOverOnsetDelays": "number (double)",
  "averageReversePearsonCorrelationOverOnsetDelays": "number (double)",
  "averageVote": "number",
  "causeChanges": "integer",
  "causeDataSource": {
    "affiliate": "boolean",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string"
        }
      ]
    }
  }
}

DataSource:

affiliate: boolean

Ex: true

backgroundColor: string

Background color HEX code that matches the icon

buttons: Button
Button
card: Card

Card containing instructions, image, text, link and relevant import buttons

clientId: string

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

connected: boolean

True if the authenticated user has this connector enabled

connectError: string

Ex: Your token is expired. Please re-connect

connectInstructions: ConnectInstructions

URL and parameters used when connecting to a service

connectorId: integer

Ex: 8

connectStatus: string

Ex: CONNECTED

count: integer

Number of measurements from this source or number of users who have measurements from this source

createdAt: string

Ex: 2000-01-01 00:00:00 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

connectorClientId: string

Ex: ba7d0c12432650e23b3ce924ae2d21e2ff59e7e4e28650759633700af7ed0a30

defaultVariableCategoryName: string

Ex: Foods

displayName: string

Ex: QuantiModo

enabled: integer

Ex: 0

getItUrl: string

Ex: https://quantimo.do

id: integer

Ex: 72

image: string

Ex: https://web.quantimo.do/img/logos/quantimodo-logo-qm-rainbow-200-200.png

imageHtml: string

Ex: QuantiModo

lastSuccessfulUpdatedAt: string

Ex: 2017-07-31 10:10:34 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

lastUpdate: integer

Epoch timestamp of last sync

linkedDisplayNameHtml: string

Ex: QuantiModo

longDescription: string

Ex: QuantiModo is a Chrome extension, Android app, iOS app, and web app that allows you to easily track mood, symptoms, or any outcome you want to optimize in a fraction of a second. You can also import your data from over 30 other apps and devices like Fitbit, Rescuetime, Jawbone Up, Withings, Facebook, Github, Google Calendar, Runkeeper, MoodPanda, Slice, Google Fit, and more. QuantiModo then analyzes your data to identify which hidden factors are most likely to be influencing your mood or symptoms and their optimal daily values.

message: string

Ex: Got 412 new measurements on 2017-07-31 10:10:34

mobileConnectMethod: string

Mobile connect method: webview, cordova, google, spreadsheet, or ip

name: string

Ex: quantimodo

platforms: string[]

Platforms (chrome, android, ios, web) that you can connect on.

string
premium: boolean

True if connection requires upgrade

scopes: string[]

Required connector scopes

string
shortDescription: string

Ex: Tracks anything

spreadsheetUploadLink: string

URL to POST a spreadsheet to (if available for this data source)

totalMeasurementsInLastUpdate: integer

Number of measurements obtained during latest update

updatedAt: string

Ex: 2017-07-31 10:10:34 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

updateRequestedAt: string

Ex: 2017-07-18 05:16:31 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

updateStatus: string

Ex: UPDATED

userId: integer

Ex: 230

Example
{
  "affiliate": "boolean",
  "backgroundColor": "string",
  "buttons": [
    {
      "accessibilityText": "string",
      "action": "object",
      "additionalInformation": "string",
      "color": "string",
      "confirmationText": "string",
      "functionName": "string",
      "parameters": "object",
      "html": "string",
      "id": "string",
      "image": "string",
      "ionIcon": "string",
      "link": "string",
      "stateName": "string",
      "stateParams": "object",
      "successToastText": "string",
      "successAlertTitle": "string",
      "successAlertBody": "string",
      "text": "string",
      "tooltip": "string",
      "webhookUrl": "string"
    }
  ],
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ]
  }
}

DeviceToken:

clientId: string

Client id

platform: string

ios, android, or web

deviceToken: string

The device token

Example
{
  "clientId": "string",
  "platform": "string",
  "deviceToken": "string"
}

Error:

message: string

Error message

Example
{
  "message": "string"
}

Explanation:

description: string

Ex: These factors are most predictive of Overall Mood based on your own data.

image: Image
ionIcon: string

Ex: ion-ios-person

startTracking: ExplanationStartTracking
title: string

Ex: Top Predictors of Overall Mood

html: string

Embeddable list of study summaries with explanation at the top

Example
{
  "description": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "ionIcon": "string",
  "startTracking": {
    "button": {
      "accessibilityText": "string",
      "action": "object",
      "additionalInformation": "string",
      "color": "string",
      "confirmationText": "string",
      "functionName": "string",
      "parameters": "object",
      "html": "string",
      "id": "string",
      "image": "string",
      "ionIcon": "string",
      "link": "string",
      "stateName": "string",
      "stateParams": "object",
      "successToastText": "string",
      "successAlertTitle": "string",
      "successAlertBody": "string",
      "text": "string",
      "tooltip": "string",
      "webhookUrl": "string"
    },
    "description": "string",
    "title": "string"
  },
  "title": "string",
  "html": "string"
}

ExplanationStartTracking:

button: Button
description: string

Ex: The more data I have the more accurate your results will be so track regularly!

title: string

Ex: Improve Accuracy

Example
{
  "button": {
    "accessibilityText": "string",
    "action": "object",
    "additionalInformation": "string",
    "color": "string",
    "confirmationText": "string",
    "functionName": "string",
    "parameters": "object",
    "html": "string",
    "id": "string",
    "image": "string",
    "ionIcon": "string",
    "link": "string",
    "stateName": "string",
    "stateParams": "object",
    "successToastText": "string",
    "successAlertTitle": "string",
    "successAlertBody": "string",
    "text": "string",
    "tooltip": "string",
    "webhookUrl": "string"
  },
  "description": "string",
  "title": "string"
}

InputField:

displayName: string

What do you expect?

helpText: string

What do you expect?

hint: string

What do you expect?

icon: string

What do you expect?

id: string

HTML element id

image: string

What do you expect?

key: string

What do you expect?

labelLeft: string

What do you expect?

labelRight: string

What do you expect?

link: string

What do you expect?

maxLength: integer

What do you expect?

maxValue: number

What do you expect?

minLength: integer

What do you expect?

minValue: number

What do you expect?

options: string[]

Selector list options

string
placeholder: string

Ex: Title

postUrl: string

What do you expect?

required: boolean

What do you expect?

show: boolean

Ex: Title

submitButton: Button
type: string check_box, date, email, number, postal_code, select_option, string, switch, text_area, unit, variable_category

Ex: Title

validationPattern: string

See http://html5pattern.com/ for examples

value: string

What do you expect?

Example
{
  "displayName": "string",
  "helpText": "string",
  "hint": "string",
  "icon": "string",
  "id": "string",
  "image": "string",
  "key": "string",
  "labelLeft": "string",
  "labelRight": "string",
  "link": "string",
  "maxLength": "integer",
  "maxValue": "number",
  "minLength": "integer",
  "minValue": "number",
  "options": [
    "string"
  ],
  "placeholder": "string",
  "postUrl": "string",
  "required": "boolean",
  "show": "boolean",
  "submitButton": {
    "accessibilityText": "string",
    "action": "object",
    "additionalInformation": "string",
    "color": "string",
    "confirmationText": "string",
    "functionName": "string",
    "parameters": "object",
    "html": "string",
    "id": "string",
    "image": "string",
    "ionIcon": "string",
    "link": "string",
    "stateName": "string",
    "stateParams": "object",
    "successToastText": "string",
    "successAlertTitle": "string",
    "successAlertBody": "string",
    "text": "string",
    "tooltip": "string",
    "webhookUrl": "string"
  },
  "type": "string",
  "validationPattern": "string",
  "value": "string"
}

GetConnectorsResponse:

connectors: DataSource
DataSource
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "connectors": [
    {
      "affiliate": "boolean",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "card": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string"
          }
        ]
      }
    }
  ]
}

GetCorrelationsDataResponse:

correlations: Correlation
Correlation
explanation: Explanation
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "correlations": [
    {
      "averageDailyHighCause": "number (double)",
      "averageDailyLowCause": "number (double)",
      "averageEffect": "number (double)",
      "averageEffectFollowingHighCause": "number (double)",
      "averageEffectFollowingLowCause": "number (double)",
      "averageForwardPearsonCorrelationOverOnsetDelays": "number (double)",
      "averageReversePearsonCorrelationOverOnsetDelays": "number (double)",
      "averageVote": "number",
      "causeChanges": "integer",
      "causeDataSource": {
        "affiliate": "boolean",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "card": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string"
            }
          ]
        }
      }
    }
  ]
}

GetCorrelationsResponse:

data: GetCorrelationsDataResponse
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

avatar: string

Square icon png url

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "data": {
    "correlations": [
      {
        "averageDailyHighCause": "number (double)",
        "averageDailyLowCause": "number (double)",
        "averageEffect": "number (double)",
        "averageEffectFollowingHighCause": "number (double)",
        "averageEffectFollowingLowCause": "number (double)",
        "averageForwardPearsonCorrelationOverOnsetDelays": "number (double)",
        "averageReversePearsonCorrelationOverOnsetDelays": "number (double)",
        "averageVote": "number",
        "causeChanges": "integer",
        "causeDataSource": {
          "affiliate": "boolean",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "card": {
            "actionSheetButtons": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string",
                "color": "string",
                "confirmationText": "string",
                "functionName": "string",
                "parameters": "object",
                "html": "string",
                "id": "string",
                "image": "string",
                "ionIcon": "string",
                "link": "string",
                "stateName": "string",
                "stateParams": "object",
                "successToastText": "string",
                "successAlertTitle": "string",
                "successAlertBody": "string",
                "text": "string",
                "tooltip": "string",
                "webhookUrl": "string"
              }
            ],
            "avatar": "string",
            "avatarCircular": "string",
            "backgroundColor": "string",
            "buttons": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string",
                "color": "string",
                "confirmationText": "string",
                "functionName": "string",
                "parameters": "object",
                "html": "string",
                "id": "string",
                "image": "string",
                "ionIcon": "string",
                "link": "string",
                "stateName": "string",
                "stateParams": "object",
                "successToastText": "string",
                "successAlertTitle": "string",
                "successAlertBody": "string",
                "text": "string",
                "tooltip": "string",
                "webhookUrl": "string"
              }
            ],
            "buttonsSecondary": [
              {
                "accessibilityText": "string",
                "action": "object",
                "additionalInformation": "string",
                "color": "string"
              }
            ]
          }
        }
      }
    ]
  }
}

GetStudiesResponse:

studies: Study
Study
description: string

Ex: These factors are most predictive of Overall Mood based on your own data.

summary: string

Can be used as title in help info popup

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

startTracking: ExplanationStartTracking
title: string

Ex: Top Predictors of Overall Mood

html: string

Embeddable list of study summaries with explanation at the top

Example
{
  "studies": [
    {
      "type": "string",
      "userId": "integer (int32)",
      "id": "string",
      "causeVariable": {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string"
            }
          ]
        }
      }
    }
  ]
}

GetSharesResponse:

authorizedClients: AuthorizedClients
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object",
                                                "appType": "string",
                                                "buildEnabled": "string",
                                                "clientId": "string",
                                                "clientSecret": "string",
                                                "collaborators": [
                                                  null
                                                ]
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

FeedResponse:

cards: Card
Card
description: string

Tracking reminder notifications, messages, and study result cards that can be displayed in user feed or stream

summary: string

Tracking reminder notifications, messages, and study results

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "cards": [
    {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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": "integer",
          "maxValue": "number",
          "minLength": "integer",
          "minValue": "number",
          "options": [
            null
          ]
        }
      ]
    }
  ]
}

GetTrackingReminderNotificationsResponse:

data: TrackingReminderNotification
TrackingReminderNotification
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "data": [
    {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object"
          }
        ]
      }
    }
  ]
}

Image:

height: string

Ex: 240

imageUrl: string

Ex: https://www.filepicker.io/api/file/TjmeNWS5Q2SFmtJlUGLf

width: string

Ex: 224

Example
{
  "height": "string",
  "imageUrl": "string",
  "width": "string"
}

JsonErrorResponse:

message: string

Error message

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "message": "string",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

Measurement:

card: Card

Card containing image, text, link and relevant buttons

clientId: string

Ex: quantimodo

connectorId: integer

Ex: 13

createdAt: string

Ex: 2017-07-30 21:08:36

displayValueAndUnitString: string

Examples: 3/5, $10, or 1 count

iconIcon: string

Ex: ion-sad-outline

id: integer

Ex: 1051466127

inputType: string

Ex: value

ionIcon: string

Ex: ion-ios-medkit-outline

manualTracking: boolean

Ex: 1

maximumAllowedValue: number (double)

Ex: 5. Unit: User-specified or common.

minimumAllowedValue: number (double)

Ex: 1. Unit: User-specified or common.

note: string

Note of measurement

noteObject: object

Additional meta data for the measurement

noteHtml: object

Embeddable HTML with message hyperlinked with associated url

originalUnitId: integer

Ex: 23

originalValue: number (double)

Original value submitted. Unit: Originally submitted.

pngPath: string

Ex: img/variable_categories/treatments.png

pngUrl: string

Ex: https://web.quantimo.do/img/variable_categories/treatments.png

productUrl: string

Link to associated product for purchase

sourceName: string

Application or device used to record the measurement values

startDate: string

Ex: 2014-08-27

startTimeEpoch: integer

Seconds between the start of the event measured and 1970 (Unix timestamp)

startTimeString: string

Start Time for the measurement event in UTC ISO 8601 YYYY-MM-DDThh:mm:ss

svgUrl: string

Ex: https://web.quantimo.do/img/variable_categories/treatments.svg

unitAbbreviatedName: string

Abbreviated name for the unit of measurement

unitCategoryId: integer

Ex: 6

unitCategoryName: string

Ex: Miscellany

unitId: integer

Ex: 23

unitName: string

Ex: Count

updatedAt: string

Ex: 2017-07-30 21:08:36

url: string

Link to associated Facebook like or Github commit, for instance

userVariableUnitAbbreviatedName: string

Ex: count

userVariableUnitCategoryId: integer

Ex: 6

userVariableUnitCategoryName: string

Ex: Miscellany

userVariableUnitId: integer

Ex: 23

userVariableUnitName: string

Ex: Count

userVariableVariableCategoryId: integer

Ex: 13

userVariableVariableCategoryName: string

Ex: Treatments

valence: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

value: number (double)

Converted measurement value in requested unit

variableCategoryId: integer

Ex: 13

variableCategoryImageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/pill-96.png

variableCategoryName: string 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

Ex: Emotions, Treatments, Symptoms...

variableDescription: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

variableId: integer

Ex: 5956846

variableName: string

Name of the variable for which we are creating the measurement records

displayName: string

Ex: Trader Joe's Bedtime Tea

Example
{
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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": "integer",
        "maxValue": "number",
        "minLength": "integer",
        "minValue": "number",
        "options": [
          "string"
        ]
      }
    ]
  }
}

MeasurementDelete:

startTime: integer

Start time of the measurement to be deleted

variableId: integer

Variable id of the measurement to be deleted

connectorName: string

Name of the connector for which measurements should be deleted

clientId: string

Your app's client id

Example
{
  "startTime": "integer",
  "variableId": "integer",
  "connectorName": "string",
  "clientId": "string"
}

MeasurementItem:

note: string

Optional note to include with the measurement

timestamp: integer (int64)

Timestamp for the measurement event in epoch time (unixtime)

value: number (double)

Measurement value

Example
{
  "note": "string",
  "timestamp": "integer (int64)",
  "value": "number (double)"
}

MeasurementSet:

combinationOperation: string MEAN, SUM

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.

measurementItems: MeasurementItem

Array of timestamps, values, and optional notes

MeasurementItem
sourceName: string

Name of the application or device used to record the measurement values

unitAbbreviatedName: string

Unit of measurement

variableCategoryName: string 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

Ex: Emotions, Treatments, Symptoms...

variableName: string

ORIGINAL name of the variable for which we are creating the measurement records

upc: string

UPC or other barcode scan result

Example
{
  "combinationOperation": "string",
  "measurementItems": [
    {
      "note": "string",
      "timestamp": "integer (int64)",
      "value": "number (double)"
    }
  ],
  "sourceName": "string",
  "unitAbbreviatedName": "string",
  "variableCategoryName": "string",
  "variableName": "string",
  "upc": "string"
}

MeasurementUpdate:

id: integer

Variable id of the measurement to be updated

note: string

The new note for the measurement (optional)

startTime: integer

The new timestamp for the the event in epoch seconds (optional)

value: number (double)

The new value of for the measurement (optional)

Example
{
  "id": "integer",
  "note": "string",
  "startTime": "integer",
  "value": "number (double)"
}

Pair:

causeMeasurement: number (double)

Ex: 101341.66666667

causeMeasurementValue: number (double)

Ex: 101341.66666667

causeVariableUnitAbbreviatedName: string

Ex: mg

effectMeasurement: number (double)

Ex: 7.98

effectMeasurementValue: number (double)

Ex: 7.98

effectVariableUnitAbbreviatedName: string

Ex: %

eventAt: string

Ex: 2015-08-06 15:49:02 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

eventAtUnixTime: integer

Ex: 1438876142

startTimeString: string

Ex: 2015-08-06 15:49:02 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

timestamp: integer

Ex: 1464937200

Example
{
  "causeMeasurement": "number (double)",
  "causeMeasurementValue": "number (double)",
  "causeVariableUnitAbbreviatedName": "string",
  "effectMeasurement": "number (double)",
  "effectMeasurementValue": "number (double)",
  "effectVariableUnitAbbreviatedName": "string",
  "eventAt": "string",
  "eventAtUnixTime": "integer",
  "startTimeString": "string",
  "timestamp": "integer"
}

ParticipantInstruction:

instructionsForCauseVariable: string

Ex: Obtain Fitbit and use it to record your Sleep Duration. Once you have a Fitbit account, connect your Fitbit account at QuantiModo to automatically import and analyze your data.

instructionsForEffectVariable: string

Ex: Obtain QuantiModo and use it to record your Overall Mood. Once you have a QuantiModo account, connect your QuantiModo account at QuantiModo to automatically import and analyze your data.

Example
{
  "instructionsForCauseVariable": "string",
  "instructionsForEffectVariable": "string"
}

PostMeasurementsDataResponse:

userVariables: Variable
Variable
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "userVariables": [
    {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "alias": "string",
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string"
          }
        ]
      }
    }
  ]
}

PostMeasurementsResponse:

data: PostMeasurementsDataResponse
message: string

Message

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "data": {
    "userVariables": [
      {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "alias": "string",
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string"
            }
          ]
        }
      }
    ]
  }
}

PostStudyPublishResponse:

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

PostStudyCreateResponse:

study: Study
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "study": {
    "type": "string",
    "userId": "integer (int32)",
    "id": "string",
    "causeVariable": {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "alias": "string",
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object"
          }
        ]
      }
    }
  }
}

PostTrackingRemindersDataResponse:

trackingReminderNotifications: TrackingReminderNotification
TrackingReminderNotification
trackingReminders: TrackingReminder
TrackingReminder
userVariables: Variable
Variable
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "trackingReminderNotifications": [
    {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object"
          }
        ]
      }
    }
  ]
}

PostTrackingRemindersResponse:

data: PostTrackingRemindersDataResponse
message: string

Message

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "data": {
    "trackingReminderNotifications": [
      {
        "actionArray": [
          {
            "action": "string",
            "callback": "string",
            "modifiedValue": "integer",
            "title": "string",
            "longTitle": "string",
            "shortTitle": "string"
          }
        ],
        "availableUnits": [
          {
            "abbreviatedName": "string",
            "advanced": "integer",
            "category": "string",
            "categoryId": "integer",
            "categoryName": "string",
            "conversionSteps": [
              {
                "operation": "string",
                "value": "number (double)"
              }
            ],
            "id": "integer",
            "manualTracking": "integer",
            "maximumAllowedValue": "number (double)",
            "maximumValue": "integer",
            "minimumAllowedValue": "number (double)",
            "minimumValue": "integer",
            "name": "string",
            "unitCategory": {
              "id": "integer",
              "name": "string",
              "standardUnitAbbreviatedName": "string"
            }
          }
        ],
        "bestStudyLink": "string",
        "bestStudyCard": {
          "actionSheetButtons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "avatar": "string",
          "avatarCircular": "string",
          "backgroundColor": "string",
          "buttons": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string",
              "functionName": "string",
              "parameters": "object",
              "html": "string",
              "id": "string",
              "image": "string",
              "ionIcon": "string",
              "link": "string",
              "stateName": "string",
              "stateParams": "object",
              "successToastText": "string",
              "successAlertTitle": "string",
              "successAlertBody": "string",
              "text": "string",
              "tooltip": "string",
              "webhookUrl": "string"
            }
          ],
          "buttonsSecondary": [
            {
              "accessibilityText": "string",
              "action": "object",
              "additionalInformation": "string",
              "color": "string",
              "confirmationText": "string"
            }
          ]
        }
      }
    ]
  }
}

PostUserSettingsDataResponse:

purchaseId: integer

Ex: 1

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "purchaseId": "integer",
  "description": "string",
  "summary": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "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"
      }
    ]
  }
}

PostUserSettingsResponse: object

data: PostUserSettingsDataResponse
message: string

Message

description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "data": {
    "purchaseId": "integer",
    "description": "string",
    "summary": "string",
    "errors": [
      {
        "message": "string"
      }
    ],
    "status": "string",
    "success": "boolean",
    "code": "number",
    "link": "string",
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "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"
        }
      ]
    }
  }
}

ShareInvitationBody:

emailAddress: string

Enter the email address of the friend, family member, or health-care provider that you would like to give access to your measurements

name: string

Name of the individual that the user wishes to have access to their measurements

emailSubject: string

Ex: I would like to share my measurements with you!

emailBody: string

Ex: I would like to share my data with you so you can help me identify find discover hidden causes of and new treatments for my illness.

scopes: string

Space separated list of scopes to grant to the recipient (i.e. readmeasurements, writemeasurements, measurements:read

Example
{
  "emailAddress": "string",
  "name": "string",
  "emailSubject": "string",
  "emailBody": "string",
  "scopes": "string"
}

Study:

A study analyzes the relationship between a predictor variable like gluten-intake and an outcome of interest such as overall mood.

type: string

Ex: population, cohort, or individual

userId: integer (int32)

The user id of the principal investigator or subject if an individual studies

id: string

ID of the cohort study which is necessary to allow participants to join

causeVariable: Variable
causeVariableName: string

Ex: Sleep Quality

studyCharts: StudyCharts
effectVariable: Variable
effectVariableName: string

Ex: Overall Mood

participantInstructions: ParticipantInstruction
statistics: Correlation
studyCard: Card

Contains a summary, images, sharing buttons, and links

studyHtml: StudyHtml
studyImages: StudyImages
studyLinks: StudyLinks
studySharing: StudySharing
studyText: StudyText
studyVotes: StudyVotes
joined: boolean

True if you are sharing your data with this study

Example
{
  "type": "string",
  "userId": "integer (int32)",
  "id": "string",
  "causeVariable": {
    "actionArray": [
      {
        "action": "string",
        "callback": "string",
        "modifiedValue": "integer",
        "title": "string",
        "longTitle": "string",
        "shortTitle": "string"
      }
    ],
    "alias": "string",
    "availableUnits": [
      {
        "abbreviatedName": "string",
        "advanced": "integer",
        "category": "string",
        "categoryId": "integer",
        "categoryName": "string",
        "conversionSteps": [
          {
            "operation": "string",
            "value": "number (double)"
          }
        ],
        "id": "integer",
        "manualTracking": "integer",
        "maximumAllowedValue": "number (double)",
        "maximumValue": "integer",
        "minimumAllowedValue": "number (double)",
        "minimumValue": "integer",
        "name": "string",
        "unitCategory": {
          "id": "integer",
          "name": "string",
          "standardUnitAbbreviatedName": "string"
        }
      }
    ],
    "bestStudyLink": "string",
    "bestStudyCard": {
      "actionSheetButtons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "avatar": "string",
      "avatarCircular": "string",
      "backgroundColor": "string",
      "buttons": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string",
          "confirmationText": "string",
          "functionName": "string",
          "parameters": "object",
          "html": "string",
          "id": "string",
          "image": "string",
          "ionIcon": "string",
          "link": "string",
          "stateName": "string",
          "stateParams": "object",
          "successToastText": "string",
          "successAlertTitle": "string",
          "successAlertBody": "string",
          "text": "string",
          "tooltip": "string",
          "webhookUrl": "string"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "string",
          "action": "object",
          "additionalInformation": "string",
          "color": "string"
        }
      ]
    }
  }
}

StudyCharts:

An object with various chart properties each property contain and svg and Highcharts configuration

populationTraitScatterPlot: Chart
outcomeDistributionColumnChart: Chart
predictorDistributionColumnChart: Chart
correlationScatterPlot: Chart
pairsOverTimeLineChart: Chart
Example
{
  "populationTraitScatterPlot": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "outcomeDistributionColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "predictorDistributionColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "correlationScatterPlot": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "pairsOverTimeLineChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  }
}

StudyCreationBody:

causeVariableName: string

Name of predictor variable

effectVariableName: string

Name of the outcome variable

studyTitle: string

Title of your study (optional)

type: string individual, group, global

Individual studies are based on data of a single user. Group studies are based on data from a specific group of individuals who have joined. Global studies are based on aggregated and anonymously shared data from all users.

Example
{
  "causeVariableName": "string",
  "effectVariableName": "string",
  "studyTitle": "string",
  "type": "string"
}

StudyHtml:

chartHtml: string

Embeddable chart html

downloadButtonsHtml: string

Play Store, App Store, Chrome Web Store

fullPageWithHead: string

Embeddable study including HTML head section charts. Modifiable css classes are study-title, study-section-header, study-section-body

fullStudyHtml: string

Embeddable study text html including charts. Modifiable css classes are study-title, study-section-header, study-section-body

fullStudyHtmlWithCssStyles: string

Embeddable study html including charts and css styling

participantInstructionsHtml: string

Instructions for study participation

statisticsTableHtml: string

Embeddable table with statistics

studyAbstractHtml: string

Text summary

studyHeaderHtml: string

Title, study image, abstract with CSS styling

studyImageHtml: string

PNG image

studyMetaHtml: string

Facebook, Twitter, Google+

studyTextHtml: string

Formatted study text sections

socialSharingButtonHtml: string

What do you expect?

studySummaryBoxHtml: string

What do you expect?

Example
{
  "chartHtml": "string",
  "downloadButtonsHtml": "string",
  "fullPageWithHead": "string",
  "fullStudyHtml": "string",
  "fullStudyHtmlWithCssStyles": "string",
  "participantInstructionsHtml": "string",
  "statisticsTableHtml": "string",
  "studyAbstractHtml": "string",
  "studyHeaderHtml": "string",
  "studyImageHtml": "string",
  "studyMetaHtml": "string",
  "studyTextHtml": "string",
  "socialSharingButtonHtml": "string",
  "studySummaryBoxHtml": "string"
}

StudyImages:

causeVariableImageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/sleeping_in_bed-96.png

causeVariableIonIcon: string

Ex: ion-ios-cloudy-night-outline

effectVariableImageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/theatre_mask-96.png

effectVariableIonIcon: string

Ex: ion-happy-outline

gaugeImage: string

Ex: https://s3.amazonaws.com/quantimodo-docs/images/gauge-moderately-positive-relationship.png

gaugeImageSquare: string

Ex: https://s3.amazonaws.com/quantimodo-docs/images/gauge-moderately-positive-relationship-200-200.png

gaugeSharingImageUrl: string

Image with gauge and category images

imageUrl: string

Ex: https://s3-us-west-1.amazonaws.com/qmimages/variable_categories_gauges_logo_background/gauge-moderately-positive-relationship_sleep_emotions_logo_background.png

robotSharingImageUrl: string

Image with robot and category images

avatar: string

Avatar of the principal investigator

Example
{
  "causeVariableImageUrl": "string",
  "causeVariableIonIcon": "string",
  "effectVariableImageUrl": "string",
  "effectVariableIonIcon": "string",
  "gaugeImage": "string",
  "gaugeImageSquare": "string",
  "gaugeSharingImageUrl": "string",
  "imageUrl": "string",
  "robotSharingImageUrl": "string",
  "avatar": "string"
}

StudyJoinResponse:

study: Study
trackingReminders: TrackingReminder
TrackingReminder
trackingReminderNotifications: TrackingReminderNotification
TrackingReminderNotification
description: string

Can be used as body of help info popup

summary: string

Can be used as title in help info popup

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "study": {
    "type": "string",
    "userId": "integer (int32)",
    "id": "string",
    "causeVariable": {
      "actionArray": [
        {
          "action": "string",
          "callback": "string",
          "modifiedValue": "integer",
          "title": "string",
          "longTitle": "string",
          "shortTitle": "string"
        }
      ],
      "alias": "string",
      "availableUnits": [
        {
          "abbreviatedName": "string",
          "advanced": "integer",
          "category": "string",
          "categoryId": "integer",
          "categoryName": "string",
          "conversionSteps": [
            {
              "operation": "string",
              "value": "number (double)"
            }
          ],
          "id": "integer",
          "manualTracking": "integer",
          "maximumAllowedValue": "number (double)",
          "maximumValue": "integer",
          "minimumAllowedValue": "number (double)",
          "minimumValue": "integer",
          "name": "string",
          "unitCategory": {
            "id": "integer",
            "name": "string",
            "standardUnitAbbreviatedName": "string"
          }
        }
      ],
      "bestStudyLink": "string",
      "bestStudyCard": {
        "actionSheetButtons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "avatar": "string",
        "avatarCircular": "string",
        "backgroundColor": "string",
        "buttons": [
          {
            "accessibilityText": "string",
            "action": "object",
            "additionalInformation": "string",
            "color": "string",
            "confirmationText": "string",
            "functionName": "string",
            "parameters": "object",
            "html": "string",
            "id": "string",
            "image": "string",
            "ionIcon": "string",
            "link": "string",
            "stateName": "string",
            "stateParams": "object",
            "successToastText": "string",
            "successAlertTitle": "string",
            "successAlertBody": "string",
            "text": "string",
            "tooltip": "string",
            "webhookUrl": "string"
          }
        ],
        "buttonsSecondary": [
          {
            "accessibilityText": "string",
            "action": "object"
          }
        ]
      }
    }
  }
}

StudySharing:

shareUserMeasurements: boolean

Would you like to make this study publicly visible?

sharingDescription: string

Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood

sharingTitle: string

Ex: N1 Study: Sleep Quality Predicts Higher Overall Mood

Example
{
  "shareUserMeasurements": "boolean",
  "sharingDescription": "string",
  "sharingTitle": "string"
}

StudyText:

averageEffectFollowingHighCauseExplanation: string

Ex: Overall Mood is 3.55/5 (15% higher) on average after days with around 4.19/5 Sleep Quality

averageEffectFollowingLowCauseExplanation: string

Ex: Overall Mood is 2.65/5 (14% lower) on average after days with around 1.97/5 Sleep Quality

valuePredictingHighOutcomeExplanation: string

Ex: Overall Mood, on average, 17% higher after around 4.14/5 Sleep Quality

valuePredictingLowOutcomeExplanation: string

Ex: Overall Mood, on average, 11% lower after around 3.03/5 Sleep Quality

dataAnalysis: string

Ex: It was assumed that 0 hours would pass before a change in Very Distracting Time would produce an observable change in Video Activities. It was assumed that Very Distracting Time could produce an observable change in Video Activities for as much as 7 days after the stimulus event.

dataSources: string

Ex: Very Distracting Time data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.
Video Activities data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.

dataSourcesParagraphForCause: string

Ex: Very Distracting Time data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.
Video Activities data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.

dataSourcesParagraphForEffect: string

Ex: Very Distracting Time data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.
Video Activities data was primarily collected using RescueTime. Detailed reports show which applications and websites you spent time on. Activities are automatically grouped into pre-defined categories with built-in productivity scores covering thousands of websites and applications. You can customize categories and productivity scores to meet your needs.

lastCauseDailyValueSentenceExtended: string

Ex: Sleep Quality Predicts Higher Overall Mood

lastCauseAndOptimalValueSentence: string

Ex: Sleep Quality Predicts Higher Overall Mood

lastCauseDailyValueSentence: string

Ex: Sleep Quality Predicts Higher Overall Mood

optimalDailyValueSentence: string

Ex: Sleep Quality Predicts Higher Overall Mood

participantInstructions: string

Instructions for study participation

predictorExplanation: string

Ex: Sleep Quality Predicts Higher Overall Mood

significanceExplanation: string

Ex: Using a two-tailed t-test with alpha = 0.05, it was determined that the change in Video Activities is statistically significant at 95% confidence interval.

studyAbstract: string

Ex: Aggregated data from 21 suggests with a low degree of confidence (p=0.097) that Very Distracting Time has a moderately positive predictive relationship (R=0.354) with Video Activities (Activity). The highest quartile of Video Activities measurements were observed following an average 2.03h Very Distracting Timeper day. The lowest quartile of Video Activities measurements were observed following an average 1.04h Very Distracting Timeper day.

studyDesign: string

Ex: This study is based on data donated by 21 QuantiModo users. Thus, the study design is equivalent to the aggregation of 21 separate n=1 observational natural experiments.

studyLimitations: string

Ex: As with any human experiment, it was impossible to control for all potentially confounding variables. Correlation does not necessarily imply correlation. We can never know for sure if one factor is definitely the cause of an outcome. However, lack of correlation definitely implies the lack of a causal relationship. Hence, we can with great confidence rule out non-existent relationships. For instance, if we discover no relationship between mood and an antidepressant this information is just as or even more valuable than the discovery that there is a relationship.

We can also take advantage of several characteristics of time series data from many subjects to infer the likelihood of a causal relationship if we do find a correlational relationship. The criteria for causation are a group of minimal conditions necessary to provide adequate evidence of a causal relationship between an incidence and a possible consequence. The list of the criteria is as follows:

        1. Strength (effect size): A small association does not mean that there is not a causal effect, though the larger the association, the more likely that it is causal.
        <br>
        2. Consistency (reproducibility): Consistent findings observed by different persons in different places with different samples strengthens the likelihood of an effect.
        <br>
        3. Specificity: Causation is likely if a very specific population at a specific site and disease with no other likely explanation. The more specific an association between a factor and an effect is, the bigger the probability of a causal relationship.
        <br>
        4. Temporality: The effect has to occur after the cause (and if there is an expected delay between the cause and expected effect, then the effect must occur after that delay).
        <br>
        5. Biological gradient: Greater exposure should generally lead to greater incidence of the effect. However, in some cases, the mere presence of the factor can trigger the effect. In other cases, an inverse proportion is observed: greater exposure leads to lower incidence.
        <br>
        6. Plausibility: A plausible mechanism between cause and effect is helpful.
        <br>
        7. Coherence: Coherence between epidemiological and laboratory findings increases the likelihood of an effect.
        <br>
        8. Experiment: "Occasionally it is possible to appeal to experimental evidence".
        <br>
        9. Analogy: The effect of similar factors may be considered.
        <br>
        <br>
         The confidence in a causal relationship is bolstered by the fact that time-precedence was taken into account in all calculations. Furthermore, in accordance with the law of large numbers (LLN), the predictive power and accuracy of these results will continually grow over time.  146 paired data points were used in this analysis.   Assuming that the relationship is merely coincidental, as the participant independently modifies their Very Distracting Time values, the observed strength of the relationship will decline until it is below the threshold of significance.  To it another way, in the case that we do find a spurious correlation, suggesting that banana intake improves mood for instance,
        one will likely increase their banana intake.  Due to the fact that this correlation is spurious, it is unlikely
        that you will see a continued and persistent corresponding increase in mood.  So over time, the spurious correlation will
        naturally dissipate.Furthermore, it will be very enlightening to aggregate this data with the data from other participants  with similar genetic, diseasomic, environmentomic, and demographic profiles.
studyObjective: string

Ex: The objective of this study is to determine the nature of the relationship (if any) between the Very Distracting Time and the Video Activities. Additionally, we attempt to determine the Very Distracting Time values most likely to produce optimal Video Activities values.

studyResults: string

Ex: This analysis suggests that higher Very Distracting Time generally predicts negative Video Activities (p = 0.097). Video Activities is, on average, 36% higher after around 2.03 Very Distracting Time. After an onset delay of 168 hours, Video Activities is, on average, 16% lower than its average over the 168 hours following around 1.04 Very Distracting Time. 146 data points were used in this analysis. The value for Very Distracting Time changed 2984 times, effectively running 1492 separate natural experiments. The top quartile outcome values are preceded by an average 2.03 h of Very Distracting Time. The bottom quartile outcome values are preceded by an average 1.04 h of Very Distracting Time. Forward Pearson Correlation Coefficient was 0.354 (p=0.097, 95% CI -0.437 to 1.144 onset delay = 0 hours, duration of action = 168 hours) . The Reverse Pearson Correlation Coefficient was 0.208 (P=0.097, 95% CI -0.583 to 0.998, onset delay = -0 hours, duration of action = -168 hours). When the Very Distracting Time value is closer to 2.03 h than 1.04 h, the Video Activities value which follows is, on average, 36% percent higher than its typical value. When the Very Distracting Time value is closer to 1.04 h than 2.03 h, the Video Activities value which follows is 0% lower than its typical value. Video Activities is 5 h (67% higher) on average after days with around 5 h Very Distracting Time

studyTitle: string

Ex: N1 Study: Very Distracting Time Predicts Negative Video Activities

studyInvitation: string

Help us determine if Remeron affects Overall Mood!

studyQuestion: string

Does Remeron affect Overall Mood?

studyBackground: string

In order to reduce suffering through the advancement of human knowledge...

Example
{
  "averageEffectFollowingHighCauseExplanation": "string",
  "averageEffectFollowingLowCauseExplanation": "string",
  "valuePredictingHighOutcomeExplanation": "string",
  "valuePredictingLowOutcomeExplanation": "string",
  "dataAnalysis": "string",
  "dataSources": "string",
  "dataSourcesParagraphForCause": "string",
  "dataSourcesParagraphForEffect": "string",
  "lastCauseDailyValueSentenceExtended": "string",
  "lastCauseAndOptimalValueSentence": "string",
  "lastCauseDailyValueSentence": "string",
  "optimalDailyValueSentence": "string",
  "participantInstructions": "string",
  "predictorExplanation": "string",
  "significanceExplanation": "string",
  "studyAbstract": "string",
  "studyDesign": "string",
  "studyLimitations": "string",
  "studyObjective": "string",
  "studyResults": "string",
  "studyTitle": "string",
  "studyInvitation": "string",
  "studyQuestion": "string",
  "studyBackground": "string"
}

StudyVotes:

averageVote: number

Average of all user votes with 1 representing an up-vote and 0 representing a down-vote. Ex: 0.9855

userVote: integer

1 if the current user has up-voted the study and 0 if they down-voted it. Null means no vote. Ex: 1 or 0 or null

Example
{
  "averageVote": "number",
  "userVote": "integer"
}

TrackingReminder:

actionArray: TrackingReminderNotificationAction
TrackingReminderNotificationAction
availableUnits: Unit
Unit
bestStudyLink: string

Link to study comparing variable with strongest relationship for user or population

bestStudyCard: Card

Description of relationship with variable with strongest relationship for user or population

bestUserStudyLink: string

Link to study comparing variable with strongest relationship for user

bestUserStudyCard: Card

Description of relationship with variable with strongest relationship for user

bestPopulationStudyLink: string

Link to study comparing variable with strongest relationship for population

bestPopulationStudyCard: Card

Description of relationship with variable with strongest relationship for population

optimalValueMessage: string

Description of relationship with variable with strongest relationship for user or population

commonOptimalValueMessage: string

Description of relationship with variable with strongest relationship for population

userOptimalValueMessage: string

Description of relationship with variable with strongest relationship for user

card: Card

Card containing instructions, image, text, link and relevant import buttons

clientId: string

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

combinationOperation: string MEAN, SUM

The way multiple measurements are aggregated over time

createdAt: string

Ex: 2016-05-18 02:24:08 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

displayName: string

Ex: Trader Joe's Bedtime Tea

unitAbbreviatedName: string

Ex: /5

unitCategoryId: integer

Ex: 5

unitCategoryName: string

Ex: Rating

unitId: integer

Ex: 10

unitName: string

Ex: 1 to 5 Rating

defaultValue: number (float)

Default value to use for the measurement when tracking. Unit: User-specified or common.

enabled: boolean

If a tracking reminder is enabled, tracking reminder notifications will be generated for this variable.

email: boolean

True if the reminders should be delivered via email

errorMessage: string

Ex: reminderStartTimeLocal is less than $user->earliestReminderTime or greater than $user->latestReminderTime

fillingValue: integer

Ex: 0. Unit: User-specified or common.

firstDailyReminderTime: string

Ex: 02:45:20 in UTC timezone

frequencyTextDescription: string

Ex: Daily

frequencyTextDescriptionWithTime: string

Ex: Daily at 09:45 PM

id: integer (int32)

id

inputType: string

Ex: saddestFaceIsFive

instructions: string

Ex: I am an instruction!

ionIcon: string

Ex: ion-sad-outline

lastTracked: string

UTC ISO 8601 YYYY-MM-DDThh:mm:ss timestamp for the last time a measurement was received for this user and variable

lastValue: number (double)

Ex: 2

latestTrackingReminderNotificationReminderTime: string

UTC ISO 8601 YYYY-MM-DDThh:mm:ss timestamp for the reminder time of the latest tracking reminder notification that has been pre-emptively generated in the database

localDailyReminderNotificationTimes: string[]
string
localDailyReminderNotificationTimesForAllReminders: string[]
string
manualTracking: boolean

Ex: 1

maximumAllowedValue: number (double)

Ex: 5. Unit: User-specified or common.

minimumAllowedValue: number (double)

Ex: 1. Unit: User-specified or common.

nextReminderTimeEpochSeconds: integer

Ex: 1501555520

notificationBar: boolean

True if the reminders should appear in the notification bar

numberOfRawMeasurements: integer

Ex: 445

numberOfUniqueValues: integer

Ex: 1

outcome: boolean

Indicates whether or not the variable is usually an outcome of interest such as a symptom or emotion

pngPath: string

Ex: img/variable_categories/symptoms.png

pngUrl: string

Ex: https://web.quantimo.do/img/variable_categories/symptoms.png

productUrl: string

Link to associated product for purchase

popUp: boolean

True if the reminders should appear as a popup notification

question: string

Ex: How is your overall mood?

longQuestion: string

Ex: How is your overall mood on a scale of 1 to 5??

reminderEndTime: string

Latest time of day at which reminders should appear in UTC HH:MM:SS format

reminderFrequency: integer (int32)

Number of seconds between one reminder and the next

reminderSound: string

String identifier for the sound to accompany the reminder

reminderStartEpochSeconds: integer

Ex: 1469760320

reminderStartTime: string

Earliest time of day at which reminders should appear in UTC HH:MM:SS format

reminderStartTimeLocal: string (string)

Ex: 21:45:20

reminderStartTimeLocalHumanFormatted: string

Ex: 09:45 PM

repeating: boolean

Ex: true

secondDailyReminderTime: string

Ex: 01:00:00

secondToLastValue: number (double)

Ex: 1. Unit: User-specified or common.

sms: boolean

True if the reminders should be delivered via SMS

startTrackingDate: string (string)

Earliest date on which the user should be reminded to track in YYYY-MM-DD format

stopTrackingDate: string (string)

Latest date on which the user should be reminded to track in YYYY-MM-DD format

svgUrl: string

Ex: https://web.quantimo.do/img/variable_categories/symptoms.svg

thirdDailyReminderTime: string

Ex: 20:00:00

thirdToLastValue: number (double)

Ex: 3

trackingReminderId: integer

Ex: 11841

trackingReminderImageUrl: string

Ex: Not Found

upc: string

UPC or other barcode scan result

updatedAt: string

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

userId: integer (int32)

ID of User

userVariableUnitAbbreviatedName: string

Ex: /5

userVariableUnitCategoryId: integer

Ex: 5

userVariableUnitCategoryName: string

Ex: Rating

userVariableUnitId: integer

Ex: 10

userVariableUnitName: string

Ex: 1 to 5 Rating

userVariableVariableCategoryId: integer

Ex: 10

userVariableVariableCategoryName: string

Ex: Symptoms

valence: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

valueAndFrequencyTextDescription: string

Ex: Rate daily

valueAndFrequencyTextDescriptionWithTime: string

Ex: Rate daily at 09:45 PM

variableCategoryId: integer

Ex: 10

variableCategoryImageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/sad-96.png

variableCategoryName: string 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

Ex: Emotions, Treatments, Symptoms...

variableDescription: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

variableId: integer (int32)

Id for the variable to be tracked

variableName: string

Name of the variable to be used when sending measurements

Example
{
  "actionArray": [
    {
      "action": "string",
      "callback": "string",
      "modifiedValue": "integer",
      "title": "string",
      "longTitle": "string",
      "shortTitle": "string"
    }
  ],
  "availableUnits": [
    {
      "abbreviatedName": "string",
      "advanced": "integer",
      "category": "string",
      "categoryId": "integer",
      "categoryName": "string",
      "conversionSteps": [
        {
          "operation": "string",
          "value": "number (double)"
        }
      ],
      "id": "integer",
      "manualTracking": "integer",
      "maximumAllowedValue": "number (double)",
      "maximumValue": "integer",
      "minimumAllowedValue": "number (double)",
      "minimumValue": "integer",
      "name": "string",
      "unitCategory": {
        "id": "integer",
        "name": "string",
        "standardUnitAbbreviatedName": "string"
      }
    }
  ],
  "bestStudyLink": "string",
  "bestStudyCard": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string"
      }
    ]
  }
}

TrackingReminderDelete:

id: integer

Id of the TrackingReminder to be deleted

Example
{
  "id": "integer"
}

TrackingReminderNotification:

actionArray: TrackingReminderNotificationAction
TrackingReminderNotificationAction
availableUnits: Unit
Unit
bestStudyLink: string

Link to study comparing variable with strongest relationship for user or population

bestStudyCard: Card

Description of relationship with variable with strongest relationship for user or population

bestUserStudyLink: string

Link to study comparing variable with strongest relationship for user

bestUserStudyCard: Card

Description of relationship with variable with strongest relationship for user

bestPopulationStudyLink: string

Link to study comparing variable with strongest relationship for population

bestPopulationStudyCard: Card

Description of relationship with variable with strongest relationship for population

optimalValueMessage: string

Description of relationship with variable with strongest relationship for user or population

commonOptimalValueMessage: string

Description of relationship with variable with strongest relationship for population

userOptimalValueMessage: string

Description of relationship with variable with strongest relationship for user

card: Card

Card with options for tracking.

clientId: string

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

combinationOperation: string MEAN, SUM

The way multiple measurements are aggregated over time

createdAt: string

Ex: 2017-07-29 20:49:54 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

displayName: string

Ex: Trader Joe's Bedtime Tea

modifiedValue: number (double)

Is the user specified default value or falls back to the last value in user unit. Good for initializing input fields. Unit: User-specified or common.

unitAbbreviatedName: string

Ex: /5

unitCategoryId: integer

Ex: 5

unitCategoryName: string

Ex: Rating

unitId: integer

Ex: 10

unitName: string

Ex: 1 to 5 Rating

defaultValue: number (float)

Default value to use for the measurement when tracking

description: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

email: boolean

True if the reminders should be delivered via email

fillingValue: integer

Ex: 0

iconIcon: string

Ex: ion-sad-outline

id: integer (int32)

id for the specific PENDING tracking remidner

imageUrl: string

Ex: https://rximage.nlm.nih.gov/image/images/gallery/original/55111-0129-60_RXNAVIMAGE10_B051D81E.jpg

inputType: string

Ex: happiestFaceIsFive

ionIcon: string

Ex: ion-happy-outline

lastValue: number (double)

Ex: 3

manualTracking: boolean

True if this variable is normally tracked via manual user input rather than automatic imports

maximumAllowedValue: integer

Ex: 5

minimumAllowedValue: integer

Ex: 1

mostCommonValue: number (double)

Ex: 3

notificationBar: boolean

True if the reminders should appear in the notification bar

notifiedAt: string

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

numberOfUniqueValues: integer

Ex: 5

outcome: boolean

Indicates whether or not the variable is usually an outcome of interest such as a symptom or emotion

pngPath: string

Ex: img/variable_categories/emotions.png

pngUrl: string

Ex: https://web.quantimo.do/img/variable_categories/emotions.png

popUp: boolean

True if the reminders should appear as a popup notification

productUrl: string

Link to associated product for purchase

question: string

Ex: How is your overall mood?

longQuestion: string

Ex: How is your overall mood on a scale of 1 to 5??

reminderEndTime: string

Ex: 01-01-2018

reminderFrequency: integer

How often user should be reminded in seconds. Ex: 86400

reminderSound: string

String identifier for the sound to accompany the reminder

reminderStartTime: string

Earliest time of day at which reminders should appear in UTC HH:MM:SS format

reminderTime: string

UTC ISO 8601 YYYY-MM-DDThh:mm:ss timestamp for the specific time the variable should be tracked in UTC. This will be used for the measurement startTime if the track endpoint is used.

secondMostCommonValue: number (double)

Ex: 4

secondToLastValue: number (double)

Ex: 1

sms: boolean

True if the reminders should be delivered via SMS

svgUrl: string

Ex: https://web.quantimo.do/img/variable_categories/emotions.svg

thirdMostCommonValue: number (double)

Ex: 2

thirdToLastValue: number (double)

Ex: 2

title: string

Ex: Rate Overall Mood

total: number (double)

Ex: 3

trackAllActions: TrackingReminderNotificationTrackAllAction
TrackingReminderNotificationTrackAllAction
trackingReminderId: integer (int32)

id for the repeating tracking remidner

trackingReminderImageUrl: string

Ex: https://rximage.nlm.nih.gov/image/images/gallery/original/55111-0129-60_RXNAVIMAGE10_B051D81E.jpg

trackingReminderNotificationId: integer

Ex: 5072482

trackingReminderNotificationTime: string

UTC ISO 8601 YYYY-MM-DDThh:mm:ss timestamp for the specific time the variable should be tracked in UTC. This will be used for the measurement startTime if the track endpoint is used.

trackingReminderNotificationTimeEpoch: integer

Ex: 1501534124

trackingReminderNotificationTimeLocal: string

Ex: 15:48:44

trackingReminderNotificationTimeLocalHumanString: string

Ex: 8PM Sun, May 1

updatedAt: string

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

userId: integer (int32)

ID of User

userVariableUnitAbbreviatedName: string

Ex: /5

userVariableUnitCategoryId: integer

Ex: 5

userVariableUnitCategoryName: string

Ex: Rating

userVariableUnitId: integer

Ex: 10

userVariableUnitName: string

Ex: 1 to 5 Rating

userVariableVariableCategoryId: integer

Ex: 1

userVariableVariableCategoryName: string

Ex: Emotions

valence: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

variableCategoryId: integer

Ex: 1

variableCategoryImageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/theatre_mask-96.png

variableCategoryName: string 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

Ex: Emotions, Treatments, Symptoms...

variableId: integer (int32)

Id for the variable to be tracked

variableImageUrl: string

Ex: https://image.png

variableName: string

Name of the variable to be used when sending measurements

Example
{
  "actionArray": [
    {
      "action": "string",
      "callback": "string",
      "modifiedValue": "integer",
      "title": "string",
      "longTitle": "string",
      "shortTitle": "string"
    }
  ],
  "availableUnits": [
    {
      "abbreviatedName": "string",
      "advanced": "integer",
      "category": "string",
      "categoryId": "integer",
      "categoryName": "string",
      "conversionSteps": [
        {
          "operation": "string",
          "value": "number (double)"
        }
      ],
      "id": "integer",
      "manualTracking": "integer",
      "maximumAllowedValue": "number (double)",
      "maximumValue": "integer",
      "minimumAllowedValue": "number (double)",
      "minimumValue": "integer",
      "name": "string",
      "unitCategory": {
        "id": "integer",
        "name": "string",
        "standardUnitAbbreviatedName": "string"
      }
    }
  ],
  "bestStudyLink": "string",
  "bestStudyCard": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string"
      }
    ]
  }
}

TrackingReminderNotificationAction:

action: string

Ex: track

callback: string

Ex: trackThreeRatingAction

modifiedValue: integer

Ex: 3

title: string

Ex: 3/5

longTitle: string

Ex: Rate 3/5

shortTitle: string

Ex: 3

Example
{
  "action": "string",
  "callback": "string",
  "modifiedValue": "integer",
  "title": "string",
  "longTitle": "string",
  "shortTitle": "string"
}

TrackingReminderNotificationPost:

action: string skip, snooze, track

track records a measurement for the notification. snooze changes the notification to 1 hour from now. skip deletes the notification.

id: number

Id of the TrackingReminderNotification

modifiedValue: number

Optional value to be recorded instead of the tracking reminder default value

Example
{
  "action": "string",
  "id": "number",
  "modifiedValue": "number"
}

TrackingReminderNotificationTrackAllAction:

action: string

Ex: trackAll

callback: string

Ex: trackThreeRatingAction

modifiedValue: integer

Ex: 3

title: string

Ex: Rate 3/5 for all

Example
{
  "action": "string",
  "callback": "string",
  "modifiedValue": "integer",
  "title": "string"
}

Unit:

abbreviatedName: string

Unit abbreviation

advanced: integer

Ex: 1

category: string Distance, Duration, Energy, Frequency, Miscellany, Pressure, Proportion, Rating, Temperature, Volume, Weight, Count

Unit category

categoryId: integer

Ex: 6

categoryName: string

Ex: Miscellany

conversionSteps: ConversionStep

Conversion steps list

ConversionStep
id: integer

Ex: 29

manualTracking: integer

Ex: 0

maximumAllowedValue: number (double)

The maximum allowed value for measurements. While you can record a value above this maximum, it will be excluded from the correlation analysis.

maximumValue: integer

Ex: 4

minimumAllowedValue: number (double)

The minimum allowed value for measurements. While you can record a value below this minimum, it will be excluded from the correlation analysis.

minimumValue: integer

Ex: 0

name: string

Unit name

unitCategory: UnitCategory
Example
{
  "abbreviatedName": "string",
  "advanced": "integer",
  "category": "string",
  "categoryId": "integer",
  "categoryName": "string",
  "conversionSteps": [
    {
      "operation": "string",
      "value": "number (double)"
    }
  ],
  "id": "integer",
  "manualTracking": "integer",
  "maximumAllowedValue": "number (double)",
  "maximumValue": "integer",
  "minimumAllowedValue": "number (double)",
  "minimumValue": "integer",
  "name": "string",
  "unitCategory": {
    "id": "integer",
    "name": "string",
    "standardUnitAbbreviatedName": "string"
  }
}

UnitCategory:

id: integer

id

name: string

Category name

standardUnitAbbreviatedName: string

Base unit for in which measurements are to be converted to and stored

Example
{
  "id": "integer",
  "name": "string",
  "standardUnitAbbreviatedName": "string"
}

User:

accessToken: string

User access token

accessTokenExpires: string

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

accessTokenExpiresAtMilliseconds: integer

Ex: 1533696079000

administrator: boolean

Is user administrator

authorizedClients: AuthorizedClients
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: Card

Avatar and info

clientId: string

Ex: quantimodo

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

displayName: string

User display name

earliestReminderTime: string

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

email: string

User email

firstName: string

Ex: Mike

getPreviewBuilds: boolean

Ex: false

hasAndroidApp: boolean

Ex: false

hasChromeExtension: boolean

Ex: false

hasIosApp: boolean

Ex: false

id: integer

User id

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

loginName: string

User login name

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: 2013-12-03 15:25:13 UTC ISO 8601 YYYY-MM-DDThh:mm:ss

userUrl: string

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

Example
{
  "accessToken": "string",
  "accessTokenExpires": "string",
  "accessTokenExpiresAtMilliseconds": "integer",
  "administrator": "boolean",
  "authorizedClients": {
    "apps": [
      {
        "additionalSettings": "object",
        "appDescription": "string",
        "appDesign": "object",
        "appDisplayName": "string",
        "appStatus": "object",
        "appType": "string",
        "buildEnabled": "string",
        "clientId": "string",
        "clientSecret": "string",
        "collaborators": [
          {
            "accessToken": "string",
            "accessTokenExpires": "string",
            "accessTokenExpiresAtMilliseconds": "integer",
            "administrator": "boolean",
            "authorizedClients": {
              "apps": [
                {
                  "additionalSettings": "object",
                  "appDescription": "string",
                  "appDesign": "object",
                  "appDisplayName": "string",
                  "appStatus": "object",
                  "appType": "string",
                  "buildEnabled": "string",
                  "clientId": "string",
                  "clientSecret": "string",
                  "collaborators": [
                    {
                      "accessToken": "string",
                      "accessTokenExpires": "string",
                      "accessTokenExpiresAtMilliseconds": "integer",
                      "administrator": "boolean",
                      "authorizedClients": {
                        "apps": [
                          {
                            "additionalSettings": "object",
                            "appDescription": "string",
                            "appDesign": "object",
                            "appDisplayName": "string",
                            "appStatus": "object",
                            "appType": "string",
                            "buildEnabled": "string",
                            "clientId": "string",
                            "clientSecret": "string",
                            "collaborators": [
                              {
                                "accessToken": "string",
                                "accessTokenExpires": "string",
                                "accessTokenExpiresAtMilliseconds": "integer",
                                "administrator": "boolean",
                                "authorizedClients": {
                                  "apps": [
                                    {
                                      "additionalSettings": "object",
                                      "appDescription": "string",
                                      "appDesign": "object",
                                      "appDisplayName": "string",
                                      "appStatus": "object",
                                      "appType": "string",
                                      "buildEnabled": "string",
                                      "clientId": "string",
                                      "clientSecret": "string",
                                      "collaborators": [
                                        {
                                          "accessToken": "string",
                                          "accessTokenExpires": "string",
                                          "accessTokenExpiresAtMilliseconds": "integer",
                                          "administrator": "boolean",
                                          "authorizedClients": {
                                            "apps": [
                                              {
                                                "additionalSettings": "object",
                                                "appDescription": "string",
                                                "appDesign": "object",
                                                "appDisplayName": "string",
                                                "appStatus": "object",
                                                "appType": "string"
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          }
        ]
      }
    ]
  }
}

UsersResponse:

users: User
User
description: string

Users who granted access to their data

summary: string

Users who granted access to their data

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Users who granted access to their data

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "users": [
    {
      "accessToken": "string",
      "accessTokenExpires": "string",
      "accessTokenExpiresAtMilliseconds": "integer",
      "administrator": "boolean",
      "authorizedClients": {
        "apps": [
          {
            "additionalSettings": "object",
            "appDescription": "string",
            "appDesign": "object",
            "appDisplayName": "string",
            "appStatus": "object",
            "appType": "string",
            "buildEnabled": "string",
            "clientId": "string",
            "clientSecret": "string",
            "collaborators": [
              {
                "accessToken": "string",
                "accessTokenExpires": "string",
                "accessTokenExpiresAtMilliseconds": "integer",
                "administrator": "boolean",
                "authorizedClients": {
                  "apps": [
                    {
                      "additionalSettings": "object",
                      "appDescription": "string",
                      "appDesign": "object",
                      "appDisplayName": "string",
                      "appStatus": "object",
                      "appType": "string",
                      "buildEnabled": "string",
                      "clientId": "string",
                      "clientSecret": "string",
                      "collaborators": [
                        {
                          "accessToken": "string",
                          "accessTokenExpires": "string",
                          "accessTokenExpiresAtMilliseconds": "integer",
                          "administrator": "boolean",
                          "authorizedClients": {
                            "apps": [
                              {
                                "additionalSettings": "object",
                                "appDescription": "string",
                                "appDesign": "object",
                                "appDisplayName": "string",
                                "appStatus": "object",
                                "appType": "string",
                                "buildEnabled": "string",
                                "clientId": "string",
                                "clientSecret": "string",
                                "collaborators": [
                                  {
                                    "accessToken": "string",
                                    "accessTokenExpires": "string",
                                    "accessTokenExpiresAtMilliseconds": "integer",
                                    "administrator": "boolean",
                                    "authorizedClients": {
                                      "apps": [
                                        {
                                          "additionalSettings": "object",
                                          "appDescription": "string",
                                          "appDesign": "object",
                                          "appDisplayName": "string",
                                          "appStatus": "object",
                                          "appType": "string",
                                          "buildEnabled": "string",
                                          "clientId": "string",
                                          "clientSecret": "string",
                                          "collaborators": [
                                            {
                                              "accessToken": "string",
                                              "accessTokenExpires": "string",
                                              "accessTokenExpiresAtMilliseconds": "integer",
                                              "administrator": "boolean",
                                              "authorizedClients": {
                                                "apps": [
                                                  {
                                                    "additionalSettings": "object",
                                                    "appDescription": "string",
                                                    "appDesign": "object"
                                                  }
                                                ]
                                              }
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          }
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ]
}

UserTag:

conversionFactor: number

Number by which we multiply the tagged variable value to obtain the tag variable (ingredient) value

taggedVariableId: integer

This is the id of the variable being tagged with an ingredient or something.

tagVariableId: integer

This is the id of the ingredient variable whose value is determined based on the value of the tagged variable.

Example
{
  "conversionFactor": "number",
  "taggedVariableId": "integer",
  "tagVariableId": "integer"
}

Variable:

actionArray: TrackingReminderNotificationAction
TrackingReminderNotificationAction
alias: string

User-Defined Variable Setting: Alternative display name

availableUnits: Unit
Unit
bestStudyLink: string

Link to study comparing variable with strongest relationship for user or population

bestStudyCard: Card

Description of relationship with variable with strongest relationship for user or population

bestUserStudyLink: string

Link to study comparing variable with strongest relationship for user

bestUserStudyCard: Card

Description of relationship with variable with strongest relationship for user

bestPopulationStudyLink: string

Link to study comparing variable with strongest relationship for population

bestPopulationStudyCard: Card

Description of relationship with variable with strongest relationship for population

optimalValueMessage: string

Description of relationship with variable with strongest relationship for user or population

commonOptimalValueMessage: string

Description of relationship with variable with strongest relationship for population

userOptimalValueMessage: string

Description of relationship with variable with strongest relationship for user

card: Card

Card containing instructions, image, text, link and relevant import buttons

causeOnly: boolean

User-Defined Variable Setting: True indicates that this variable is generally a cause in a causal relationship. An example of a causeOnly variable would be a variable such as Cloud Cover which would generally not be influenced by the behaviour of the user

charts: VariableCharts
chartsLinkDynamic: string

Ex: https://local.quantimo.do/ionic/Modo/www/#/app/charts/Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29?variableName=Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29&userId=230&pngUrl=https%3A%2F%2Fapp.quantimo.do%2Fionic%2FModo%2Fwww%2Fimg%2Fvariable_categories%2Ftreatments.png

chartsLinkEmail: string

Ex: mailto:?subject=Check%20out%20my%20Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29%20data%21&body=See%20my%20Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29%20history%20at%20https%3A%2F%2Flocal.quantimo.do%2Fapi%2Fv2%2Fcharts%3FvariableName%3DTrader%2520Joes%2520Bedtime%2520Tea%2520%252F%2520Sleepytime%2520Tea%2520%2528any%2520Brand%2529%26userId%3D230%26pngUrl%3Dhttps%253A%252F%252Fapp.quantimo.do%252Fionic%252FModo%252Fwww%252Fimg%252Fvariable_categories%252Ftreatments.png%0A%0AHave%20a%20great%20day!

chartsLinkFacebook: string

Ex: https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Flocal.quantimo.do%2Fapi%2Fv2%2Fcharts%3FvariableName%3DTrader%2520Joes%2520Bedtime%2520Tea%2520%252F%2520Sleepytime%2520Tea%2520%2528any%2520Brand%2529%26userId%3D230%26pngUrl%3Dhttps%253A%252F%252Fapp.quantimo.do%252Fionic%252FModo%252Fwww%252Fimg%252Fvariable_categories%252Ftreatments.png

chartsLinkGoogle: string

Ex: https://plus.google.com/share?url=https%3A%2F%2Flocal.quantimo.do%2Fapi%2Fv2%2Fcharts%3FvariableName%3DTrader%2520Joes%2520Bedtime%2520Tea%2520%252F%2520Sleepytime%2520Tea%2520%2528any%2520Brand%2529%26userId%3D230%26pngUrl%3Dhttps%253A%252F%252Fapp.quantimo.do%252Fionic%252FModo%252Fwww%252Fimg%252Fvariable_categories%252Ftreatments.png

chartsLinkStatic: string

Ex: https://local.quantimo.do/api/v2/charts?variableName=Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29&userId=230&pngUrl=https%3A%2F%2Fapp.quantimo.do%2Fionic%2FModo%2Fwww%2Fimg%2Fvariable_categories%2Ftreatments.png

chartsLinkTwitter: string

Ex: https://twitter.com/home?status=Check%20out%20my%20Trader%20Joes%20Bedtime%20Tea%20%2F%20Sleepytime%20Tea%20%28any%20Brand%29%20data%21%20https%3A%2F%2Flocal.quantimo.do%2Fapi%2Fv2%2Fcharts%3FvariableName%3DTrader%2520Joes%2520Bedtime%2520Tea%2520%252F%2520Sleepytime%2520Tea%2520%2528any%2520Brand%2529%26userId%3D230%26pngUrl%3Dhttps%253A%252F%252Fapp.quantimo.do%252Fionic%252FModo%252Fwww%252Fimg%252Fvariable_categories%252Ftreatments.png%20%40quantimodo

childCommonTagVariables: Variable

Commonly defined for all users. An example of a parent category variable would be Fruit when tagged with the child sub-type variables Apple. Child variable (Apple) measurements will be included when the parent category (Fruit) is analyzed. This allows us to see how Fruit consumption might be affecting without having to record both Fruit and Apple intake.

Variable
childUserTagVariables: Variable

User-Defined Variable Setting: An example of a parent category variable would be Fruit when tagged with the child sub-type variables Apple. Child variable (Apple) measurements will be included when the parent category (Fruit) is analyzed. This allows us to see how Fruit consumption might be affecting without having to record both Fruit and Apple intake.

Variable
clientId: string

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

combinationOperation: string MEAN, SUM

User-Defined Variable Setting: How 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.

commonAlias: string

Ex: Anxiety / Nervousness

commonTaggedVariables: Variable
Variable
commonTagVariables: Variable
Variable
createdAt: string

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

dataSourceNames: string

Comma-separated list of source names to limit variables to those sources

dataSources: DataSource

These are sources of measurements for this variable

DataSource
description: string

User-Defined Variable Setting: Ex: Summary to be used in studies.

displayName: string

Ex: Trader Joe's Bedtime Tea

durationOfAction: integer (int32)

The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds

durationOfActionInHours: number (float)

User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Hours

earliestFillingTime: integer (int32)

Earliest filling time

earliestMeasurementTime: integer (int32)

Earliest measurement time

earliestSourceTime: integer (int32)

Earliest source time

errorMessage: string

Error message from last analysis

experimentEndTime: string

User-Defined Variable Setting: Latest measurement time to be used in analysis. Format: UTC ISO 8601 YYYY-MM-DDThh:mm:ss.

experimentStartTime: string

User-Defined Variable Setting: Earliest measurement time to be used in analysis. Format: UTC ISO 8601 YYYY-MM-DDThh:mm:ss.

fillingType: string none, zero-filling, value-filling

User-Defined Variable Setting: When it comes to analysis to determine the effects of this variable, knowing when it did not occur is as important as knowing when it did occur. For example, if you are tracking a medication, it is important to know when you did not take it, but you do not have to log zero values for all the days when you haven't taken it. Hence, you can specify a filling value (typically 0) to insert whenever data is missing.

fillingValue: number (float)

User-Defined Variable Setting: When it comes to analysis to determine the effects of this variable, knowing when it did not occur is as important as knowing when it did occur. For example, if you are tracking a medication, it is important to know when you did not take it, but you do not have to log zero values for all the days when you haven't taken it. Hence, you can specify a filling value (typically 0) to insert whenever data is missing. Unit: User-specified or common.

iconIcon: string

Ex: ion-sad-outline

id: integer

Ex: 95614

imageUrl: string

What do you expect?

informationalUrl: string

Ex: https://google.com

ingredientOfCommonTagVariables: Variable

Commonly defined for all users. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredient of the variable Lollipop could be Sugar. This way you only have to record Lollipop consumption and we can use this data to see how sugar might be affecting you.

Variable
ingredientCommonTagVariables: Variable

Commonly defined for all users. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredient of the variable Lollipop could be Sugar. This way you only have to record Lollipop consumption and we can use this data to see how sugar might be affecting you.

Variable
ingredientOfUserTagVariables: Variable

User-Defined Variable Setting: IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredient of the variable Lollipop could be Sugar. This way you only have to record Lollipop consumption and we can use this data to see how sugar might be affecting you.

Variable
ingredientUserTagVariables: Variable

User-Defined Variable Setting: IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredient of the variable Lollipop could be Sugar. This way you only have to record Lollipop consumption and we can use this data to see how sugar might be affecting you.

Variable
inputType: string

Type of input field to show for recording measurements

ionIcon: string

What do you expect?

joinedCommonTagVariables: Variable

Commonly defined for all users. Joining can be used used to merge duplicate variables. For instance, if two variables called Apples (Red Delicious) and Red Delicious Apples are joined, when one of them is analyzed, the measurements for the other will be included as well.

Variable
joinedUserTagVariables: Variable

User-Defined Variable Setting: Joining can be used used to merge duplicate variables. For instance, if two variables called Apples (Red Delicious) and Red Delicious Apples are joined, when one of them is analyzed, the measurements for the other will be included as well.

Variable
joinWith: integer (int32)

Duplicate variables. If the variable is joined with some other variable then it is not shown to user in the list of variables

kurtosis: number (float)

Kurtosis

lastProcessedDailyValue: number (double)

Calculated Statistic: Ex: 500. Unit: User-specified or common.

lastSuccessfulUpdateTime: string

When this variable or its settings were last updated UTC ISO 8601 YYYY-MM-DDThh:mm:ss

lastValue: number (float)

Calculated Statistic: Last measurement value in the common unit or user unit if different. Unit: User-specified or common.

latestFillingTime: integer (int32)

Latest filling time

latestMeasurementTime: integer (int32)

Latest measurement time. Format: Unix-time epoch seconds.

latestSourceTime: integer (int32)

Latest source time. Format: Unix-time epoch seconds.

latestUserMeasurementTime: integer

Ex: 1501383600. Format: Unix-time epoch seconds.

latitude: number (float)

Latitude. Unit: User-specified or common.

location: string

Location

longitude: number (float)

Longitude

manualTracking: boolean

True if the variable is an emotion or symptom rating that is not typically automatically collected by a device or app.

maximumAllowedDailyValue: number (float)

User-Defined Variable Setting: The maximum allowed value a daily aggregated measurement. Unit: User-specified or common.

maximumAllowedValue: number (float)

User-Defined Variable Setting: The maximum allowed value a single measurement. While you can record a value above this maximum, it will be excluded from the correlation analysis. Unit: User-specified or common.

maximumRecordedDailyValue: number (float)

Calculated Statistic: Maximum recorded daily value of this variable. Unit: User-specified or common.

maximumRecordedValue: number (double)

Calculated Statistic: Ex: 1. Unit: User-specified or common.

mean: number (float)

Mean. Unit: User-specified or common.

measurementsAtLastAnalysis: integer (int32)

Number of measurements at last analysis

median: number (float)

Median

minimumAllowedValue: number (float)

User-Defined Variable Setting: The minimum allowed value a single measurement. While you can record a value below this minimum, it will be excluded from the correlation analysis. Unit: User-specified or common

minimumAllowedDailyValue: number (float)

User-Defined Variable Setting: The minimum allowed value a daily aggregated measurement. For instance, you might set to 100 for steps to keep erroneous 0 daily steps out of the analysis. Unit: User-specified or common.

minimumNonZeroValue: number (float)

User-Defined Variable Setting: The minimum allowed non-zero value a single measurement. For instance, you might set to 100 mL for steps to keep erroneous 0 daily steps out of the analysis. Unit: User-specified or common.

minimumRecordedValue: number (float)

Minimum recorded value of this variable. Unit: User-specified or common.

mostCommonConnectorId: integer

Ex: 51

mostCommonOriginalUnitId: integer

Ex: 23

mostCommonUnitId: integer (int32)

Most common Unit ID

mostCommonValue: number (float)

Calculated Statistic: Most common value. Unit: User-specified or common.

name: string

Ex: Trader Joes Bedtime Tea / Sleepytime Tea (any Brand)

numberOfAggregateCorrelationsAsCause: integer

Ex: 1

numberOfAggregateCorrelationsAsEffect: integer

Ex: 310

numberOfChanges: integer (int32)

Number of changes

numberOfCorrelations: integer (int32)

Number of correlations for this variable

numberOfCorrelationsAsCause: integer

numberOfAggregateCorrelationsAsCause plus numberOfUserCorrelationsAsCause

numberOfCorrelationsAsEffect: integer

numberOfAggregateCorrelationsAsEffect plus numberOfUserCorrelationsAsEffect

numberOfProcessedDailyMeasurements: integer (int32)

Number of processed measurements

numberOfRawMeasurements: integer

Ex: 295

numberOfTrackingReminders: integer

Ex: 1

numberOfUniqueDailyValues: number (float)

Number of unique daily values

numberOfUniqueValues: integer

Ex: 2

numberOfUserCorrelationsAsCause: integer

Ex: 115

numberOfUserCorrelationsAsEffect: integer

Ex: 29014

numberOfUserVariables: integer

Ex: 2

onsetDelay: integer (int32)

The amount of time in seconds that elapses after the predictor/stimulus event before the outcome as perceived by a self-tracker is known as the onset delay. For example, the onset delay between the time a person takes an aspirin (predictor/stimulus event) and the time a person perceives a change in their headache severity (outcome) is approximately 30 minutes.

onsetDelayInHours: number (double)

User-Defined Variable Setting: The amount of time in seconds that elapses after the predictor/stimulus event before the outcome as perceived by a self-tracker is known as the onset delay. For example, the onset delay between the time a person takes an aspirin (predictor/stimulus event) and the time a person perceives a change in their headache severity (outcome) is approximately 30 minutes.

outcome: boolean

User-Defined Variable Setting: True for variables for which a human would generally want to identify the influencing factors. These include symptoms of illness, physique, mood, cognitive performance, etc. Generally correlation calculations are only performed on outcome variables

outcomeOfInterest: boolean

Do you want to receive updates on newly discovered factors influencing this variable?

parentCommonTagVariables: Variable

Commonly defined for all users. An example of a parent category variable would be Fruit when tagged with the child sub-type variables Apple. Child variable (Apple) measurements will be included when the parent category (Fruit) is analyzed. This allows us to see how Fruit consumption might be affecting without having to record both Fruit and Apple intake.

Variable
parentUserTagVariables: Variable

User-defined. An example of a parent category variable would be Fruit when tagged with the child sub-type variables Apple. Child variable (Apple) measurements will be included when the parent category (Fruit) is analyzed. This allows us to see how Fruit consumption might be affecting without having to record both Fruit and Apple intake.

Variable
pngPath: string

Ex: img/variable_categories/treatments.png

pngUrl: string

Ex: https://web.quantimo.do/img/variable_categories/treatments.png

predictorOfInterest: integer

Ex: 0

price: number (double)

Ex: 95.4

productUrl: string

Link to associated product for purchase

public: boolean

Should this variable show up in automcomplete searches for users who do not already have measurements for it?

question: string

Ex: How is your overall mood?

longQuestion: string

Ex: How is your overall mood on a scale of 1 to 5??

rawMeasurementsAtLastAnalysis: integer

Ex: 131

secondMostCommonValue: number (double)

Calculated Statistic: Ex: 1. Unit: User-specified or common.

secondToLastValue: number (double)

Calculated Statistic: Ex: 250. Unit: User-specified or common.

shareUserMeasurements: boolean

Would you like to make your measurements publicly visible?

skewness: number (float)

Skewness

standardDeviation: number (double)

Standard deviation Ex: 0.46483219855434

status: string

status

subtitle: string

Based on sort filter and can be shown beneath variable name on search list

svgUrl: string

Ex: https://web.quantimo.do/img/variable_categories/treatments.svg

thirdMostCommonValue: number (double)

Calculated Statistic: Ex: 6. Unit: User-specified or common.

thirdToLastValue: number (double)

Calculated Statistic: Ex: 250. Unit: User-specified or common.

trackingInstructions: string

HTML instructions for tracking

trackingInstructionsCard: Card

Instructions for tracking with buttons and images

unit: Unit
unitAbbreviatedName: string

Ex: count

unitCategoryId: integer

Ex: 6

unitCategoryName: string

Ex: Miscellany

unitId: integer (int32)

ID of unit to use for this variable

unitName: string

User-Defined Variable Setting: Count

upc: string

Universal product code or similar

updated: integer (int32)

updated

updatedAt: string

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

updatedTime: string

Ex: 2017-07-30 14:58:26

userId: integer (int32)

User ID

userTaggedVariables: Variable
Variable
userTagVariables: Variable
Variable
userVariableUnitAbbreviatedName: string

Ex: count

userVariableUnitCategoryId: integer

Ex: 6

userVariableUnitCategoryName: string

Ex: Miscellany

userVariableUnitId: integer

Ex: 23

userVariableUnitName: string

Ex: Count

variableCategory: VariableCategory
joinedVariables: Variable

Array of Variables that are joined with this Variable

Variable
valence: string

Valence indicates what type of buttons should be used when recording measurements for this variable. positive - Face buttons with the happiest face equating to a 5/5 rating where higher is better like Overall Mood. negative - Face buttons with happiest face equating to a 1/5 rating where lower is better like Headache Severity. numeric - Just 1 to 5 numeric buttons for neutral variables.

variableCategoryId: integer

Ex: 6

variableCategoryName: string 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

User-Defined Variable Setting: Variable category like Emotions, Sleep, Physical Activities, Treatments, Symptoms, etc.

variableId: integer

Ex: 96380

variableName: string

Ex: Sleep Duration

variance: number (double)

Statistic: Ex: 115947037.40816

wikipediaTitle: string

User-Defined Variable Setting: You can help to improve the studies by pasting the title of the most appropriate Wikipedia article for this variable

Example
{
  "actionArray": [
    {
      "action": "string",
      "callback": "string",
      "modifiedValue": "integer",
      "title": "string",
      "longTitle": "string",
      "shortTitle": "string"
    }
  ],
  "alias": "string",
  "availableUnits": [
    {
      "abbreviatedName": "string",
      "advanced": "integer",
      "category": "string",
      "categoryId": "integer",
      "categoryName": "string",
      "conversionSteps": [
        {
          "operation": "string",
          "value": "number (double)"
        }
      ],
      "id": "integer",
      "manualTracking": "integer",
      "maximumAllowedValue": "number (double)",
      "maximumValue": "integer",
      "minimumAllowedValue": "number (double)",
      "minimumValue": "integer",
      "name": "string",
      "unitCategory": {
        "id": "integer",
        "name": "string",
        "standardUnitAbbreviatedName": "string"
      }
    }
  ],
  "bestStudyLink": "string",
  "bestStudyCard": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string"
      }
    ]
  }
}

UserVariableDelete:

variableId: integer

Id of the variable whose measurements should be deleted

Example
{
  "variableId": "integer"
}

VariableCategory:

appType: string

Ex: mood

causeOnly: boolean

Ex: false

combinationOperation: string

Ex: MEAN

createdTime: string

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

unitAbbreviatedName: string

Ex: /5

unitId: integer

Ex: 10

durationOfAction: integer

User-Defined Variable Setting: The amount of time over which a predictor/stimulus event can exert an observable influence on an outcome variable value. For instance, aspirin (stimulus/predictor) typically decreases headache severity for approximately four hours (duration of action) following the onset delay. Unit: Seconds

fillingValue: integer

Ex: -1. Unit: Variable category default unit.

helpText: string

Ex: What emotion do you want to rate?

id: integer

Ex: 1

imageUrl: string

Ex: https://static.quantimo.do/img/variable_categories/theatre_mask-96.png

ionIcon: string

Ex: ion-happy-outline

manualTracking: boolean

Ex: true

maximumAllowedValue: string

Unit: Variable category default unit.

measurementSynonymSingularLowercase: string

Ex: rating

minimumAllowedValue: string

Unit: Variable category default unit.

moreInfo: string

Ex: Do you have any emotions that fluctuate regularly? If so, add them so I can try to determine which factors are influencing them.

name: string

Category name

onsetDelay: integer

Ex: 0

outcome: boolean

Ex: true

pngPath: string

Ex: img/variable_categories/emotions.png

pngUrl: string

Ex: https://web.quantimo.do/img/variable_categories/emotions.png

public: boolean

Ex: true

svgPath: string

Ex: img/variable_categories/emotions.svg

svgUrl: string

Ex: https://web.quantimo.do/img/variable_categories/emotions.svg

updated: integer

Ex: 1

updatedTime: string

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

variableCategoryName: string 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

Ex: Emotions, Treatments, Symptoms...

variableCategoryNameSingular: string

Ex: Emotion

Example
{
  "appType": "string",
  "causeOnly": "boolean",
  "combinationOperation": "string",
  "createdTime": "string",
  "unitAbbreviatedName": "string",
  "unitId": "integer",
  "durationOfAction": "integer",
  "fillingValue": "integer",
  "helpText": "string",
  "id": "integer",
  "imageUrl": "string",
  "ionIcon": "string",
  "manualTracking": "boolean",
  "maximumAllowedValue": "string",
  "measurementSynonymSingularLowercase": "string",
  "minimumAllowedValue": "string",
  "moreInfo": "string",
  "name": "string",
  "onsetDelay": "integer",
  "outcome": "boolean",
  "pngPath": "string",
  "pngUrl": "string",
  "public": "boolean",
  "svgPath": "string",
  "svgUrl": "string",
  "updated": "integer",
  "updatedTime": "string",
  "variableCategoryName": "string",
  "variableCategoryNameSingular": "string"
}

VariableCharts:

An object with various chart properties each property contain and svg and Highcharts configuration

hourlyColumnChart: Chart
monthlyColumnChart: Chart
distributionColumnChart: Chart
weekdayColumnChart: Chart
lineChartWithoutSmoothing: Chart
lineChartWithSmoothing: Chart
Example
{
  "hourlyColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "monthlyColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "distributionColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "weekdayColumnChart": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "lineChartWithoutSmoothing": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  },
  "lineChartWithSmoothing": {
    "highchartConfig": "object",
    "chartId": "string",
    "chartTitle": "string",
    "explanation": "string",
    "svgUrl": "string",
    "svg": "string"
  }
}

Vote:

causeVariableId: integer

Cause variable id

clientId: string

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

createdAt: string

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

effectVariableId: integer

Effect variable id

id: integer (int32)

id

updatedAt: string

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

userId: integer (int32)

ID of User

value: string up, down, none

Vote down for implausible/not-useful or up for plausible/useful. Vote none to delete a previous vote.

type: string causality, usefulness

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

Example
{
  "causeVariableId": "integer",
  "clientId": "string",
  "createdAt": "string",
  "effectVariableId": "integer",
  "id": "integer (int32)",
  "updatedAt": "string",
  "userId": "integer (int32)",
  "value": "string",
  "type": "string"
}

VoteDelete:

cause: string

Cause variable name for the correlation to which the vote pertains

effect: string

Effect variable name for the correlation to which the vote pertains

Example
{
  "cause": "string",
  "effect": "string"
}

Activity:

id: integer

What do you expect?

userId: integer

What do you expect?

component: string

What do you expect?

type: string

What do you expect?

action: string

What do you expect?

content: string

What do you expect?

primaryLink: string

What do you expect?

itemId: integer

What do you expect?

secondaryItemId: integer

What do you expect?

dateRecorded: string

What do you expect?

hideSitewide: integer

What do you expect?

mpttLeft: integer

What do you expect?

mpttRight: integer

What do you expect?

isSpam: integer

What do you expect?

metaDataArray: object[]

Additional activity key-value data

object
Example
{
  "id": "integer",
  "userId": "integer",
  "component": "string",
  "type": "string",
  "action": "string",
  "content": "string",
  "primaryLink": "string",
  "itemId": "integer",
  "secondaryItemId": "integer",
  "dateRecorded": "string",
  "hideSitewide": "integer",
  "mpttLeft": "integer",
  "mpttRight": "integer",
  "isSpam": "integer",
  "metaDataArray": [
    "object"
  ]
}

ActivitiesResponse:

activities: Activity
Activity
description: string

Activity

summary: string

Activity

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "activities": [
    {
      "id": "integer",
      "userId": "integer",
      "component": "string",
      "type": "string",
      "action": "string",
      "content": "string",
      "primaryLink": "string",
      "itemId": "integer",
      "secondaryItemId": "integer",
      "dateRecorded": "string",
      "hideSitewide": "integer",
      "mpttLeft": "integer",
      "mpttRight": "integer",
      "isSpam": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string"
      }
    ]
  }
}

Friend:

id: integer

What do you expect?

initiatorUserId: integer

What do you expect?

friendUserId: integer

What do you expect?

isConfirmed: integer

What do you expect?

isLimited: integer

What do you expect?

dateCreated: string

What do you expect?

metaDataArray: object[]

Additional friend key-value data

object
Example
{
  "id": "integer",
  "initiatorUserId": "integer",
  "friendUserId": "integer",
  "isConfirmed": "integer",
  "isLimited": "integer",
  "dateCreated": "string",
  "metaDataArray": [
    "object"
  ]
}

FriendsResponse:

friends: Friend
Friend
description: string

Friend

summary: string

Friend

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "friends": [
    {
      "id": "integer",
      "initiatorUserId": "integer",
      "friendUserId": "integer",
      "isConfirmed": "integer",
      "isLimited": "integer",
      "dateCreated": "string",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string"
      }
    ]
  }
}

Group:

id: integer

What do you expect?

creatorId: integer

What do you expect?

name: string

What do you expect?

slug: string

What do you expect?

description: string

What do you expect?

status: string

What do you expect?

parentId: integer

What do you expect?

enableForum: integer

What do you expect?

dateCreated: string

What do you expect?

metaDataArray: object[]

Additional group key-value data

object
Example
{
  "id": "integer",
  "creatorId": "integer",
  "name": "string",
  "slug": "string",
  "description": "string",
  "status": "string",
  "parentId": "integer",
  "enableForum": "integer",
  "dateCreated": "string",
  "metaDataArray": [
    "object"
  ]
}

GroupsResponse:

groups: Group
Group
description: string

Group

summary: string

Group

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "groups": [
    {
      "id": "integer",
      "creatorId": "integer",
      "name": "string",
      "slug": "string",
      "description": "string",
      "status": "string",
      "parentId": "integer",
      "enableForum": "integer",
      "dateCreated": "string",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string"
      }
    ]
  }
}

GroupsMember:

id: integer

What do you expect?

groupId: integer

What do you expect?

userId: integer

What do you expect?

inviterId: integer

What do you expect?

isAdmin: integer

What do you expect?

isMod: integer

What do you expect?

userTitle: string

What do you expect?

dateModified: string

What do you expect?

comments: string

What do you expect?

isConfirmed: integer

What do you expect?

isBanned: integer

What do you expect?

inviteSent: integer

What do you expect?

metaDataArray: object[]

Additional groupsmember key-value data

object
Example
{
  "id": "integer",
  "groupId": "integer",
  "userId": "integer",
  "inviterId": "integer",
  "isAdmin": "integer",
  "isMod": "integer",
  "userTitle": "string",
  "dateModified": "string",
  "comments": "string",
  "isConfirmed": "integer",
  "isBanned": "integer",
  "inviteSent": "integer",
  "metaDataArray": [
    "object"
  ]
}

GroupsMembersResponse:

groupsMembers: GroupsMember
GroupsMember
description: string

GroupsMember

summary: string

GroupsMember

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "groupsMembers": [
    {
      "id": "integer",
      "groupId": "integer",
      "userId": "integer",
      "inviterId": "integer",
      "isAdmin": "integer",
      "isMod": "integer",
      "userTitle": "string",
      "dateModified": "string",
      "comments": "string",
      "isConfirmed": "integer",
      "isBanned": "integer",
      "inviteSent": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string"
      }
    ]
  }
}

MessagesMessage:

id: integer

What do you expect?

threadId: integer

What do you expect?

senderId: integer

What do you expect?

subject: string

What do you expect?

message: string

What do you expect?

dateSent: string

What do you expect?

metaDataArray: object[]

Additional messagesmessage key-value data

object
Example
{
  "id": "integer",
  "threadId": "integer",
  "senderId": "integer",
  "subject": "string",
  "message": "string",
  "dateSent": "string",
  "metaDataArray": [
    "object"
  ]
}

MessagesMessagesResponse:

messagesMessages: MessagesMessage
MessagesMessage
description: string

MessagesMessage

summary: string

MessagesMessage

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "messagesMessages": [
    {
      "id": "integer",
      "threadId": "integer",
      "senderId": "integer",
      "subject": "string",
      "message": "string",
      "dateSent": "string",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string"
      }
    ]
  }
}

MessagesNotice:

id: integer

What do you expect?

subject: string

What do you expect?

message: string

What do you expect?

dateSent: string

What do you expect?

isActive: integer

What do you expect?

metaDataArray: object[]

Additional messagesnotice key-value data

object
Example
{
  "id": "integer",
  "subject": "string",
  "message": "string",
  "dateSent": "string",
  "isActive": "integer",
  "metaDataArray": [
    "object"
  ]
}

MessagesNoticesResponse:

messagesNotices: MessagesNotice
MessagesNotice
description: string

MessagesNotice

summary: string

MessagesNotice

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
error: string

Error message

errorMessage: string

Error message

status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "messagesNotices": [
    {
      "id": "integer",
      "subject": "string",
      "message": "string",
      "dateSent": "string",
      "isActive": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "error": "string",
  "errorMessage": "string",
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string"
      }
    ]
  }
}

MessagesRecipient:

id: integer

What do you expect?

userId: integer

What do you expect?

threadId: integer

What do you expect?

unreadCount: integer

What do you expect?

senderOnly: integer

What do you expect?

isDeleted: integer

What do you expect?

metaDataArray: object[]

Additional messagesrecipient key-value data

object
Example
{
  "id": "integer",
  "userId": "integer",
  "threadId": "integer",
  "unreadCount": "integer",
  "senderOnly": "integer",
  "isDeleted": "integer",
  "metaDataArray": [
    "object"
  ]
}

MessagesRecipientsResponse:

messagesRecipients: MessagesRecipient
MessagesRecipient
description: string

MessagesRecipient

summary: string

MessagesRecipient

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "messagesRecipients": [
    {
      "id": "integer",
      "userId": "integer",
      "threadId": "integer",
      "unreadCount": "integer",
      "senderOnly": "integer",
      "isDeleted": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string"
      }
    ]
  }
}

Notification:

id: integer

What do you expect?

userId: integer

What do you expect?

itemId: integer

What do you expect?

secondaryItemId: integer

What do you expect?

componentName: string

What do you expect?

componentAction: string

What do you expect?

dateNotified: string

What do you expect?

isNew: integer

What do you expect?

metaDataArray: object[]

Additional notification key-value data

object
Example
{
  "id": "integer",
  "userId": "integer",
  "itemId": "integer",
  "secondaryItemId": "integer",
  "componentName": "string",
  "componentAction": "string",
  "dateNotified": "string",
  "isNew": "integer",
  "metaDataArray": [
    "object"
  ]
}

NotificationsResponse:

notifications: Notification
Notification
description: string

Notification

summary: string

Notification

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "notifications": [
    {
      "id": "integer",
      "userId": "integer",
      "itemId": "integer",
      "secondaryItemId": "integer",
      "componentName": "string",
      "componentAction": "string",
      "dateNotified": "string",
      "isNew": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object"
      }
    ]
  }
}

UserBlog:

id: integer

What do you expect?

userId: integer

What do you expect?

blogId: integer

What do you expect?

metaDataArray: object[]

Additional userblog key-value data

object
Example
{
  "id": "integer",
  "userId": "integer",
  "blogId": "integer",
  "metaDataArray": [
    "object"
  ]
}

UserBlogsResponse:

userBlogs: UserBlog
UserBlog
description: string

UserBlog

summary: string

UserBlog

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "userBlogs": [
    {
      "id": "integer",
      "userId": "integer",
      "blogId": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string"
      }
    ]
  }
}

XprofileDatum:

id: integer

What do you expect?

fieldId: integer

What do you expect?

userId: integer

What do you expect?

value: string

What do you expect?

lastUpdated: string

What do you expect?

metaDataArray: object[]

Additional xprofiledatum key-value data

object
Example
{
  "id": "integer",
  "fieldId": "integer",
  "userId": "integer",
  "value": "string",
  "lastUpdated": "string",
  "metaDataArray": [
    "object"
  ]
}

XprofileDataResponse:

xprofileData: XprofileDatum
XprofileDatum
description: string

XprofileDatum

summary: string

XprofileDatum

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "xprofileData": [
    {
      "id": "integer",
      "fieldId": "integer",
      "userId": "integer",
      "value": "string",
      "lastUpdated": "string",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string"
      }
    ]
  }
}

XprofileField:

id: integer

What do you expect?

groupId: integer

What do you expect?

parentId: integer

What do you expect?

type: string

What do you expect?

name: string

What do you expect?

description: string

What do you expect?

isRequired: integer

What do you expect?

isDefaultOption: integer

What do you expect?

fieldOrder: integer

What do you expect?

optionOrder: integer

What do you expect?

orderBy: string

What do you expect?

canDelete: integer

What do you expect?

metaDataArray: object[]

Additional xprofilefield key-value data

object
Example
{
  "id": "integer",
  "groupId": "integer",
  "parentId": "integer",
  "type": "string",
  "name": "string",
  "description": "string",
  "isRequired": "integer",
  "isDefaultOption": "integer",
  "fieldOrder": "integer",
  "optionOrder": "integer",
  "orderBy": "string",
  "canDelete": "integer",
  "metaDataArray": [
    "object"
  ]
}

XprofileFieldsResponse:

xprofileFields: XprofileField
XprofileField
description: string

XprofileField

summary: string

XprofileField

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "xprofileFields": [
    {
      "id": "integer",
      "groupId": "integer",
      "parentId": "integer",
      "type": "string",
      "name": "string",
      "description": "string",
      "isRequired": "integer",
      "isDefaultOption": "integer",
      "fieldOrder": "integer",
      "optionOrder": "integer",
      "orderBy": "string",
      "canDelete": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string"
      }
    ]
  }
}

XprofileGroup:

id: integer

What do you expect?

name: string

What do you expect?

description: string

What do you expect?

groupOrder: integer

What do you expect?

canDelete: integer

What do you expect?

metaDataArray: object[]

Additional xprofilegroup key-value data

object
Example
{
  "id": "integer",
  "name": "string",
  "description": "string",
  "groupOrder": "integer",
  "canDelete": "integer",
  "metaDataArray": [
    "object"
  ]
}

XprofileGroupsResponse:

xprofileGroups: XprofileGroup
XprofileGroup
description: string

XprofileGroup

summary: string

XprofileGroup

image: Image
avatar: string

Square icon png url

ionIcon: string

Ex: ion-ios-person

html: string

Embeddable list of study summaries with explanation at the top

errors: Error

Array of error objects with message property

Error
status: string

ex. OK or ERROR

success: boolean

true or false

code: number

Response code such as 200

link: string

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

card: Card

A super neat card with buttons and HTML that you can use in your app!

Example
{
  "xprofileGroups": [
    {
      "id": "integer",
      "name": "string",
      "description": "string",
      "groupOrder": "integer",
      "canDelete": "integer",
      "metaDataArray": [
        "object"
      ]
    }
  ],
  "description": "string",
  "summary": "string",
  "image": {
    "height": "string",
    "imageUrl": "string",
    "width": "string"
  },
  "avatar": "string",
  "ionIcon": "string",
  "html": "string",
  "errors": [
    {
      "message": "string"
    }
  ],
  "status": "string",
  "success": "boolean",
  "code": "number",
  "link": "string",
  "card": {
    "actionSheetButtons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "avatar": "string",
    "avatarCircular": "string",
    "backgroundColor": "string",
    "buttons": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string",
        "text": "string",
        "tooltip": "string",
        "webhookUrl": "string"
      }
    ],
    "buttonsSecondary": [
      {
        "accessibilityText": "string",
        "action": "object",
        "additionalInformation": "string",
        "color": "string",
        "confirmationText": "string",
        "functionName": "string",
        "parameters": "object",
        "html": "string",
        "id": "string",
        "image": "string",
        "ionIcon": "string",
        "link": "string",
        "stateName": "string",
        "stateParams": "object",
        "successToastText": "string",
        "successAlertTitle": "string",
        "successAlertBody": "string"
      }
    ]
  }
}