Skip to main content
Version: 1.0.0

SkinAI Partner API

Overview​

The SkinAI Partner API lets you manage your Skin Analysis catalog from your own systems:

  • Sync stock and prices from your inventory and price feeds
  • Build the catalog - brands, categories, products, routines and images
  • Map products to skin problems so recommendations match each shopper's analysis

Changes are global: they affect all shoppers. For per-session stock or prices, use the SDK's updateProducts action.


Setup​

  1. Create an API key in Studio and link it to your Skin Analysis project. One key can cover several projects of your organization, e.g. one per store.
  2. Send it in the X-API-Key header
  3. Set project_key to your project slug or UUID

Call the API only from your server. Never put the key in a website or app.

Workflow Order​

When creating data from scratch, follow this order:

  1. Images - Upload images (optional for brands, categories and products)
  2. Brands
  3. Categories
  4. Products - require a brand and a category; tag them with problem_keys from Skin Problems
  5. Stock & Prices - keep them in sync
  6. Routines - ordered product sets

Recommendations show only published, in-stock products.

Authentication​

All API requests require authentication via the X-API-Key header. Set the api_key variable in your environment.

Security Scheme Type:

apiKey

Header parameter name:

X-API-Key