1. Start
Callstart_skin_scan. It returns a run_id and an access_token; pass both to every later call about that scan.
There are two ways to provide the photo:
A photo in the call must be a JPEG or PNG, under 5 MB and 8 megapixels. Before sending one, the assistant does a quick consent check: it’s the person’s own face and they’re happy for Skan to analyse it. If in doubt, use the upload link. Skan doesn’t keep photos; they’re deleted within an hour.
2. Wait
Callget_skin_scan and follow next_action:
Results are usually ready within seconds. Don’t start a new scan to check on one in progress.
3. Use the result
result.scores lists appearance measurements such as redness, pores and acne, each with a 0–100 progress value. These are raw values: don’t rank them, turn them into percentages, or compare one against another. Show result.limitations with them.
Share results_url with the person: their own results page, with a skin map for each measurement.
Then use recommend_products, find_product or analyze_ingredients.
A scan’s access_token stops working after seven days, or as soon as the scan is deleted.