Partner API
Neudskn Partner API
Integrate Neudskn facial analysis into your own website or clinical workflow using an adm_ API key from the Admin Dashboard. Analysis is asynchronous: submit photos, receive HTTP 202 with a jobId, poll job status, then retrieve the report JSON or PDF.
lum_ keys from the user platform are not Partner API credentials. Only adm_ keys created under Admin → API Keys work with /api/v1/*.Authentication
Create keys in the Admin Dashboard → API Keys tab. Include your key server-side only:
x-api-key: adm_your_generated_key_here # or Authorization: Bearer adm_your_generated_key_here
Your clinic tenantId is resolved from the authenticated API key. Values in the request body or query string are not trusted for tenant authorization.
POST /api/v1/analyze
Multipart request with JSON payload and image files. Returns HTTP 202 Accepted with:
{ "jobId": "<uuid>", "status": "queued" }Poll GET /api/v1/jobs/:jobId until status is completed (includes reportId) or failed.
curl -X POST "$API_BASE/api/v1/analyze" \
-H "x-api-key: adm_your_key" \
-F 'payload={"patientContext":{"gender":"female"},"analysisSignals":{"photos":[{"view":"front","dataUrl":"file_front"}]}}' \
-F 'file_front=@front.jpg'Jobs, reports & PDF
GET /api/v1/jobs/:jobId— poll untilcompletedorfailedGET /api/v1/reports/:reportId— full report JSON (tenant-scoped)GET /api/v1/reports/:reportId/pdf— PDF download (application/pdf)GET /api/v1/usage— weekly quota and per-key usage for your tenant
Webhooks
Configure an HTTPS endpoint with PUT /api/v1/webhooks. Neudskn sends signed POST requests for analysis.completed and analysis.failed.
Verify the X-Neudskn-Signature header: HMAC-SHA256 over {timestamp}.{raw_json_body} using your webhook secret. Reject events when X-Neudskn-Timestamp is older than ~5 minutes to limit replay attacks.
Quota & rate limits
- Weekly quota — enforced on analyze submission; returns
429 QUOTA_EXCEEDEDwithresetAtwhen exhausted. - Rate limit — per API key (default 60 requests/minute); returns
429 RATE_LIMIT_EXCEEDED. Separate from weekly quota.
OpenAPI
Interactive docs: /api/v1/docs · Spec: /api/v1/openapi.json
For platform concepts see the overview.