Scans Assets
Access assets generated from user body scans.
Use these endpoints to retrieve preview images, 3D body models and related visual assets generated for each scan. Typical use cases include powering scan galleries, 3D viewers and other visual experiences.
All Scans - Assets endpoints require the following headers:
accept: application/json;v=1
authorization: Bearer {{API_KEY}}
content-type: application/jsonReplace {{API_KEY}} with your Prism API key for the selected environment.
This operation provides the asset status for a specific scan, including which assets are generated and available.
Use this endpoint to check whether visual assets like models or preview images are ready.
The unique ID of the scan.
unique-scan-idThe unique ID of the scan assets
unique-scan-asset-idThe ID of the scan associated with the assets
unique-scan-idThe status of the capture data associated with the scan
succeededPossible values: The date and time the capture data was last updated
The status of the body associated with the scan
startedPossible values: 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
GET /scans/{scanId}/scan-assets HTTP/1.1
Host: api.hosted.prismlabs.tech
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "unique-scan-asset-id",
"scanId": "unique-scan-id",
"captureData": "succeeded",
"captureDataUpdatedAt": "text",
"body": "started",
"bodyUpdatedAt": "text",
"fittedBody": null,
"fittedBodyUpdatedAt": "text",
"measurement": null,
"measurementUpdatedAt": "text",
"createdAt": "text",
"updatedAt": "text"
}This operation provides the download URLs for all available assets of a specific scan.
The response includes URLs for assets such as preview images or 3D models.
The unique ID of the scan.
unique-scan-idGET /scans/{scanId}/asset-urls HTTP/1.1
Host: api.hosted.prismlabs.tech
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"previewImage": "text",
"model": "text",
"canonicalBody": "text",
"texture": "text",
"material": "text",
"stripes": "text",
"captureVideo": "text"
}This operation provides the download URL for a specific asset type of a given scan.
Use this endpoint when you only need one asset, such as the preview image or 3D model, instead of requesting all asset URLs.
The unique ID of the scan.
unique-scan-idThe specific asset type of the scan
GET /scans/{scanId}/asset-urls/{assetType} HTTP/1.1
Host: api.hosted.prismlabs.tech
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
textLast updated
