API Reference v1.0
Last updated
Last updated
This operation registers a new user in hosted API. After a new user is registered, a scan for this user can be registered with /scans.
The email address of the user
"foo@bar.com"
A unique token for the user provided by the partner
"unique-user-token"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
Whether the user has consented to their data being used for research
true
The terms of service
{"accepted":true,"version":"1"}
The unique ID of the user
"unique-user-id"
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
A unique token for the user provided by the partner
"unique-user-token"
The email address of the user
"foo@bar.com"
Whether the user has consented to their data being used for research
true
This operation deletes a specific user.
A unique token for the user provided by the partner
"unique-user-token"
The unique ID of the user
"unique-user-id"
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
A unique token for the user provided by the partner
"unique-user-token"
The email address of the user
"foo@bar.com"
Whether the user has consented to their data being used for research
true
This operation provides the meta data for a specific user.
A unique token for the user provided by the partner
"unique-user-token"
The unique ID of the user
"unique-user-id"
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
A unique token for the user provided by the partner
"unique-user-token"
The email address of the user
"foo@bar.com"
Whether the user has consented to their data being used for research
true
This operation updates the meta data for a specific user.
A unique token for the user provided by the partner
"unique-user-token"
The email address of the user
"foo@bar.com"
A unique token for the user provided by the partner
"unique-user-token"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
Whether the user has consented to their data being used for research
true
The unique ID of the user
"unique-user-id"
The user's sex
"male"
The user's region
"north_america"
The user's state of residence
"California"
The user's birth date
"1990-01-01"
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
A unique token for the user provided by the partner
"unique-user-token"
The email address of the user
"foo@bar.com"
Whether the user has consented to their data being used for research
true
This operation registers a new scan in hosted API.
A unique token for the user provided by the partner, that should be associated with the scan
"unique-user-token"
The name of the device configuration used for the scan
"IPHONE_SCANNER"
The asset configuration used for the scan
""
The requested bodyfat method for the scan
"coco"
The unique ID of the scan
"unique-scan-id"
The scan status
"PROCESSING"
The ID of the scan in Prism
"prism-unique-scan-id"
The name of the device configuration used for the scan
"IPHONE_SCANNER"
The asset configuration used for the scan
""
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The user ID associated with the scan
"unique-user-id"
The unique user token associated with the scan
"unique-user-token"
The date and time the scan was created
The date and time the scan was last updated
The asset metadata associated with the scan
This operation provides the status of a specific scan.
The unique ID of the scan
"unique-scan-id"
The unique ID of the scan
"unique-scan-id"
The scan status
"PROCESSING"
The ID of the scan in Prism
"prism-unique-scan-id"
The name of the device configuration used for the scan
"IPHONE_SCANNER"
The asset configuration used for the scan
""
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The user ID associated with the scan
"unique-user-id"
The unique user token associated with the scan
"unique-user-token"
The date and time the scan was created
The date and time the scan was last updated
The asset metadata associated with the scan
This operation deletes a specific scan.
The unique ID of the scan
"unique-scan-id"
The unique ID of the scan
"unique-scan-id"
The scan status
"PROCESSING"
The ID of the scan in Prism
"prism-unique-scan-id"
The name of the device configuration used for the scan
"IPHONE_SCANNER"
The asset configuration used for the scan
""
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The user ID associated with the scan
"unique-user-id"
The unique user token associated with the scan
"unique-user-token"
The date and time the scan was created
The date and time the scan was last updated
The asset metadata associated with the scan
This operation provides the body measurements of a specific scan.
The unique ID of the scan
"unique-scan-id"
This operation provides an upload url for a specific scan for uploading capture data to Prism.
The unique ID of the scan
"unique-scan-id"
Expiration time of the signed url
A signed url to upload capture data to prism
"https://signed-url"
This operation provides the asset status of a specific scan.
The unique ID of the scan
"unique-scan-id"
The unique ID of the scan assets
"unique-scan-asset-id"
The ID of the scan associated with the assets
"unique-scan-id"
The status of the capture data associated with the scan
"succeeded"
The date and time the capture data was last updated
The status of the body associated with the scan
"started"
The date and time the body was last updated
The status of the fitted body associated with the scan
The date and time the fitted body was last updated
The status of the measurement associated with the scan
The date and time the measurement was last updated
The date and time the scan assets were created
The date and time the scan assets were last updated
This operation provides the asset urls of a specific scan.
The unique ID of the scan
"unique-scan-id"
This operation provides a specific asset url of a specific scan.
The unique ID of the scan
"unique-scan-id"
The specific asset type of the scan
This operation provides the bodyfat of a specific scan.
The unique ID of the scan
"unique-scan-id"
Bodyfat method for the scan
"coco"
Bodyfat percentage
20
Lean mass percentage
80
fat mass in kg
16
lean mass in kg
64
This operation provides the health report of a specific scan.
The unique ID of the scan
"unique-scan-id"
This operation registers a new body shape prediction for a specific scan.
NOTE: Either a target weight or a target body fat percentage (but not both) must be specified
The unique ID of the scan on which the prediction should be based on
"unique-scan-id"
The prediction type that should be used for the prediction
"weight_loss"
The target weight (in kg) for the prediction. This or 'targetBodyfat' should be specified
50
The target body fat percentage for the prediction. This or 'targetWeight' should be specified
20
The unique ID of the body shape prediction
"unique-body-shape-prediction-id"
The body shape prediction status
"PROCESSING"
The ID of the scan on which the prediction is based on
"unique-scan-id"
The prediction type of the prediction
"weight_loss"
Target weight for the prediction
50
Target body fat for the prediction
20
The date and time the body shape prediction was created
The date and time the body shape prediction was last updated
This operation provides the status of a specific body shape prediction.
The unique ID of the body shape prediction
"unique-body-shape-prediction-id"
The unique ID of the body shape prediction
"unique-body-shape-prediction-id"
The body shape prediction status
"PROCESSING"
The ID of the scan on which the prediction is based on
"unique-scan-id"
The prediction type of the prediction
"weight_loss"
Target weight for the prediction
50
Target body fat for the prediction
20
The date and time the body shape prediction was created
The date and time the body shape prediction was last updated
This operation provides the asset urls of a specific body shape prediction.
The unique ID of the body shape prediction
"unique-body-shape-prediction-id"