API Reference
Last updated
Last updated
Headers
Content-Type
application/json
Accept
application/json;v=1
Authorization
Bearer <token>
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.
/users
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 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 user's sex
male
male
, female
, neutral
, undefined
The user's region
north_america
africa
, asia
, caribbean
, central_america
, europe
, north_america
, oceania
, south_america
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
The terms of service
{"accepted":true,"version":"1"}
This operation provides the meta data for a specific user.
/users/{token}
A unique token for the user provided by the partner
unique-user-token
This operation deletes a specific user.
/users/{token}
A unique token for the user provided by the partner
unique-user-token
This operation updates the meta data for a specific user.
/users/{token}
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 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 user's sex
male
male
, female
, neutral
, undefined
The user's region
north_america
africa
, asia
, caribbean
, central_america
, europe
, north_america
, oceania
, south_america
The user's weight
{"value":80,"unit":"kg"}
The user's height
{"value":1.8,"unit":"m"}
/scans
This operation registers a new scan in hosted API.
/scans
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
IPHONE_SCANNER
, ANDROID_SCANNER
The requested bodyfat method for the scan
coco
adam
, army
, coco
, extended_navy_thinboost
, tina_fit
This operation provides the status of a specific scan.
/scans/{id}
The unique ID of the scan
unique-scan-id
This operation deletes a specific scan.
/scans/{id}
The unique ID of the scan
unique-scan-id
This operation provides the body measurements of a specific scan.
/scans/{scanId}/measurements
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.
/scans/{scanId}/upload-url
The unique ID of the scan
unique-scan-id
This operation provides the asset status of a specific scan.
/scans/{scanId}/scan-assets
The unique ID of the scan
unique-scan-id
This operation provides the asset urls of a specific scan.
/scans/{scanId}/asset-urls
The unique ID of the scan
unique-scan-id
This operation provides a specific asset url of a specific scan.
/scans/{scanId}/asset-urls/{assetType}
The unique ID of the scan
unique-scan-id
The specific asset type of the scan
preview-image
preview-image
, model
, stripes
This operation provides the bodyfat of a specific scan.
/scans/{scanId}/bodyfat
The unique ID of the scan
unique-scan-id
/users/{userToken}/terms
/users/{userToken}/terms
This operation provides the health report of a specific scan.
/scans/{scanId}/health-report
The unique ID of the scan
unique-scan-id