Use the skin analyze widget when you want Face Age as a hosted page instead of an embedded SDK — for example inside an iOS or Android app, or in an iframe.
1
Request a widget URL
Call this endpoint with your Face Age ID, your callback URL and the options you want. The response contains a widget URL.
2
Open the URL
Open the URL in your app’s web view, an iframe or a browser. The user takes a photo or uploads one, approves it, and the analysis starts.
3
Receive the results
The analysis results are shown to the user. When they click Done, Face Age sends the results and the uploaded photo to your callback URL.
This endpoint does not use the secret key. It identifies your business with the Face Age ID from the API keys page of your business in the panel.
Skin issues to include in the analysis. Send as problems[0], problems[1], and so on.Options: fineWrinkles, eyeWrinkles, deepWrinkles, darkCircle, eyeBag, pores, pigment, redness, oiliness, dryness, sagginess, dullness, acne.
Widget URL to open. Its query string carries your settings: faceAgeId, the selected problems (as access), showCamera, showUpload, showFacePoint and callbackUrl.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Face Age","description":"Developer documentation for Face Age — AI skin analysis, quiz builder and personalized routines for skincare and beauty brands.","colors":{"primary":"#EF3786","light":"#F472A8","dark":"#C2185B"},"logo":{"light":"https://mintcdn.com/getfaceage-com/joUDhpahm_GZ1A2c/logo/light.svg?fit=max\u0026auto=format\u0026n=joUDhpahm_GZ1A2c\u0026q=85\u0026s=bee817ecadd3488237c35cf0602ec492","dark":"https://mintcdn.com/getfaceage-com/joUDhpahm_GZ1A2c/logo/dark.svg?fit=max\u0026auto=format\u0026n=joUDhpahm_GZ1A2c\u0026q=85\u0026s=2c51b05ed5dc2d84ae8969b8cbd20016","href":"https://getfaceage.com"},"favicon":"https://mintcdn.com/getfaceage-com/DCCom2-3DgYMdHOU/favicon.svg?fit=max\u0026auto=format\u0026n=DCCom2-3DgYMdHOU\u0026q=85\u0026s=bd08216f8bf78dbb5e21b44e3ea6ea87","api":{"mdx":{"auth":{"method":"bearer"},"server":"https://core.getfaceage.com/api/v1"}},"background":{"color":{"dark":"#0E0E10"}},"navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Start Free Trial","href":"https://getfaceage.com/sign-in"}},"footer":{"socials":{"website":"https://getfaceage.com","linkedin":"https://www.linkedin.com/showcase/face-age","github":"https://github.com/face-age","youtube":"https://www.youtube.com/@FaceAge"},"links":[{"header":"Follow us","items":[{"label":"TikTok","href":"https://www.tiktok.com/@face.age"},{"label":"YouTube","href":"https://www.youtube.com/@FaceAge"},{"label":"LinkedIn","href":"https://www.linkedin.com/showcase/face-age"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://panel.getfaceage.com"},{"anchor":"Face Age for Shopify","icon":"shopify","href":"https://apps.shopify.com/face-age"},{"anchor":"Integrations","icon":"puzzle-piece","href":"https://getfaceage.com/integrations"},{"anchor":"Blog","icon":"newspaper","href":"https://getfaceage.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"getfaceage-com","hasAudioNarration":false,"actualSubdomain":"getfaceage-com","customDomains":["getfaceage.com"],"gitSource":{"type":"github","owner":"face-age","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6ae72443a8f9aedbcd1a88a4"},"chroma":{"latestBuiltDeploymentHistoryId":"6ae9d306cee1c80579e45199","collectionId":"a82868fb-fb8d-4b52-82f1-78f8d558bab4","liveDeploymentHistoryId":"6ae9d306cee1c80579e45199","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae9d48998ee2cfbfea8688e","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Developer Guides","count":23},{"language":"default","tag":"API Reference","count":18},{"language":"default","tag":"Help Center","count":15},{"language":"default","tag":"Get started","count":9},{"language":"default","tag":"Business management","count":9},{"language":"default","tag":"Custom template","count":4},{"language":"default","tag":"Analysis","count":4},{"language":"default","tag":"Display modes","count":4},{"language":"default","tag":"Personalization","count":4},{"language":"default","tag":"Customize","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"img.nav-logo{height:2.5rem!important;width:auto!important}"}],"page":{"pagePath":"developer-guides/hosted-widget/skin-analyze","slug":"/developer-guides/hosted-widget/skin-analyze","pageMetadata":{"title":"Skin analyze widget","description":"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.","api":"POST /widget/skin-analyze/set-parameters","authMethod":"none","icon":"mobile-screen-button","href":"/developer-guides/hosted-widget/skin-analyze"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,Heading,Note,OptimizedImage,ParamField,ResponseField,Step,Steps}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use the skin analyze widget when you want Face Age as a hosted page instead of an embedded SDK — for example inside an iOS or Android app, or in an iframe.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Request a widget URL`,children:_jsx(_components.p,{children:`Call this endpoint with your Face Age ID, your callback URL and the options you want. The response contains a widget URL.`})}),_jsxs(Step,{title:`Open the URL`,children:[_jsx(_components.p,{children:`Open the URL in your app’s web view, an iframe or a browser. The user takes a photo or uploads one, approves it, and the analysis starts.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=acb19bc8c736bc690423e21400d41569`,alt:`Instructions and consent before the photo`,style:{maxWidth:`320px`,margin:`0 auto`},\"data-og-width\":`760`,width:`760`,\"data-og-height\":`1266`,height:`1266`,\"data-path\":`images/developer-guides/sdk-instructions.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=bf93c4dc9986892bff315328e0a4bdc0 280w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=5c84b29972e71befac80f942a15b408a 560w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=648e2bcbfccd8d91bf9cdb345a90bc83 840w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=4b520cd8945e403441839114a9f33d56 1100w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=1119c8a55924f08fef2bfcb71a6d79e2 1650w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=c25d16c8301846e579e0fc23a9127728 2500w`})})]}),_jsxs(Step,{title:`Receive the results`,children:[_jsxs(_components.p,{children:[`The analysis results are shown to the user. When they click `,_jsx(_components.strong,{children:`Done`}),`, Face Age sends the results and the uploaded photo to your callback URL.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=5b0eca69c3023058be91b38d4985eb37`,alt:`Analysis results with skin age, skin health and concern masks`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1123`,height:`1123`,\"data-path\":`images/developer-guides/sdk-results.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=362d106b8e9886b1f3b42310d77c7458 280w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=ebce85ed0b4c60f1ed82bce14c5c4b99 560w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=24947d9fa0fe1bc6efbd8ba61b2198a7 840w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=cc378764e2025874eea8d5234d03c621 1100w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=cc36fd5fbe9306004d2c725065e5ae97 1650w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=0ac0151657dc108e03380434994d299a 2500w`})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint does not use the secret key. It identifies your business with the Face Age ID from the `,_jsx(_components.strong,{children:`API keys`}),` page of your business in the `,_jsx(_components.a,{href:`https://panel.getfaceage.com`,children:`panel`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(_components.p,{children:[`Send the parameters as `,_jsx(_components.code,{children:`multipart/form-data`}),`.`]}),`\n`,_jsx(ParamField,{body:`callbackUrl`,type:`string`,required:true,id:`param-callback-url`,children:_jsx(_components.p,{children:`URL where the analysis results are sent.`})}),`\n`,_jsx(ParamField,{body:`faceAgeId`,type:`string`,required:true,id:`param-face-age-id`,children:_jsxs(_components.p,{children:[`Your Face Age ID (API key), from the `,_jsx(_components.strong,{children:`API keys`}),` page in the panel.`]})}),`\n`,_jsx(ParamField,{body:`language`,type:`string`,default:`en`,id:`param-language`,children:_jsx(_components.p,{children:`Language of the widget.`})}),`\n`,_jsx(ParamField,{body:`currency`,type:`string`,default:`$`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency symbol.`})}),`\n`,_jsx(ParamField,{body:`showCamera`,type:`boolean`,default:`true`,id:`param-show-camera`,children:_jsx(_components.p,{children:`Allow users to take a photo with the camera.`})}),`\n`,_jsx(ParamField,{body:`showUpload`,type:`boolean`,default:`true`,id:`param-show-upload`,children:_jsx(_components.p,{children:`Allow users to upload an image.`})}),`\n`,_jsx(ParamField,{body:`gtag`,type:`string`,id:`param-gtag`,children:_jsx(_components.p,{children:`Google Analytics (GTM) ID to track the widget.`})}),`\n`,_jsxs(ParamField,{body:`problems`,type:`string[]`,default:`all`,id:`param-problems`,children:[_jsxs(_components.p,{children:[`Skin issues to include in the analysis. Send as `,_jsx(_components.code,{children:`problems[0]`}),`, `,_jsx(_components.code,{children:`problems[1]`}),`, and so on.`]}),_jsxs(_components.p,{children:[`Options: `,_jsx(_components.code,{children:`fineWrinkles`}),`, `,_jsx(_components.code,{children:`eyeWrinkles`}),`, `,_jsx(_components.code,{children:`deepWrinkles`}),`, `,_jsx(_components.code,{children:`darkCircle`}),`, `,_jsx(_components.code,{children:`eyeBag`}),`, `,_jsx(_components.code,{children:`pores`}),`, `,_jsx(_components.code,{children:`pigment`}),`, `,_jsx(_components.code,{children:`redness`}),`, `,_jsx(_components.code,{children:`oiliness`}),`, `,_jsx(_components.code,{children:`dryness`}),`, `,_jsx(_components.code,{children:`sagginess`}),`, `,_jsx(_components.code,{children:`dullness`}),`, `,_jsx(_components.code,{children:`acne`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`boolean`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the request succeeds.`]})}),`\n`,_jsx(ResponseField,{name:`data.url`,type:`string`,id:`param-data-url`,children:_jsxs(_components.p,{children:[`Widget URL to open. Its query string carries your settings: `,_jsx(_components.code,{children:`faceAgeId`}),`, the selected `,_jsx(_components.code,{children:`problems`}),` (as `,_jsx(_components.code,{children:`access`}),`), `,_jsx(_components.code,{children:`showCamera`}),`, `,_jsx(_components.code,{children:`showUpload`}),`, `,_jsx(_components.code,{children:`showFacePoint`}),` and `,_jsx(_components.code,{children:`callbackUrl`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Skin analyze widget","description":"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.","api":"POST /widget/skin-analyze/set-parameters","authMethod":"none","icon":"mobile-screen-button","href":"/developer-guides/hosted-widget/skin-analyze"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Frame,Heading,Note,OptimizedImage,ParamField,RequestExample,ResponseExample,ResponseField,Step,Steps}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use the skin analyze widget when you want Face Age as a hosted page instead of an embedded SDK — for example inside an iOS or Android app, or in an iframe.`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Request a widget URL`,children:_jsx(_components.p,{children:`Call this endpoint with your Face Age ID, your callback URL and the options you want. The response contains a widget URL.`})}),_jsxs(Step,{title:`Open the URL`,children:[_jsx(_components.p,{children:`Open the URL in your app’s web view, an iframe or a browser. The user takes a photo or uploads one, approves it, and the analysis starts.`}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=acb19bc8c736bc690423e21400d41569`,alt:`Instructions and consent before the photo`,style:{maxWidth:`320px`,margin:`0 auto`},\"data-og-width\":`760`,width:`760`,\"data-og-height\":`1266`,height:`1266`,\"data-path\":`images/developer-guides/sdk-instructions.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=bf93c4dc9986892bff315328e0a4bdc0 280w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=5c84b29972e71befac80f942a15b408a 560w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=648e2bcbfccd8d91bf9cdb345a90bc83 840w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=4b520cd8945e403441839114a9f33d56 1100w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=1119c8a55924f08fef2bfcb71a6d79e2 1650w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-instructions.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=c25d16c8301846e579e0fc23a9127728 2500w`})})]}),_jsxs(Step,{title:`Receive the results`,children:[_jsxs(_components.p,{children:[`The analysis results are shown to the user. When they click `,_jsx(_components.strong,{children:`Done`}),`, Face Age sends the results and the uploaded photo to your callback URL.`]}),_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=5b0eca69c3023058be91b38d4985eb37`,alt:`Analysis results with skin age, skin health and concern masks`,\"data-og-width\":`1600`,width:`1600`,\"data-og-height\":`1123`,height:`1123`,\"data-path\":`images/developer-guides/sdk-results.jpg`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=280\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=362d106b8e9886b1f3b42310d77c7458 280w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=560\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=ebce85ed0b4c60f1ed82bce14c5c4b99 560w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=840\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=24947d9fa0fe1bc6efbd8ba61b2198a7 840w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=1100\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=cc378764e2025874eea8d5234d03c621 1100w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=1650\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=cc36fd5fbe9306004d2c725065e5ae97 1650w, https://mintcdn.com/getfaceage-com/wLP35CGqBY74yiOL/images/developer-guides/sdk-results.jpg?w=2500\u0026fit=max\u0026auto=format\u0026n=wLP35CGqBY74yiOL\u0026q=85\u0026s=0ac0151657dc108e03380434994d299a 2500w`})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`This endpoint does not use the secret key. It identifies your business with the Face Age ID from the `,_jsx(_components.strong,{children:`API keys`}),` page of your business in the `,_jsx(_components.a,{href:`https://panel.getfaceage.com`,children:`panel`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`body`,children:`Body`}),`\n`,_jsxs(_components.p,{children:[`Send the parameters as `,_jsx(_components.code,{children:`multipart/form-data`}),`.`]}),`\n`,_jsx(ParamField,{body:`callbackUrl`,type:`string`,required:true,id:`param-callback-url`,children:_jsx(_components.p,{children:`URL where the analysis results are sent.`})}),`\n`,_jsx(ParamField,{body:`faceAgeId`,type:`string`,required:true,id:`param-face-age-id`,children:_jsxs(_components.p,{children:[`Your Face Age ID (API key), from the `,_jsx(_components.strong,{children:`API keys`}),` page in the panel.`]})}),`\n`,_jsx(ParamField,{body:`language`,type:`string`,default:`en`,id:`param-language`,children:_jsx(_components.p,{children:`Language of the widget.`})}),`\n`,_jsx(ParamField,{body:`currency`,type:`string`,default:`$`,id:`param-currency`,children:_jsx(_components.p,{children:`Currency symbol.`})}),`\n`,_jsx(ParamField,{body:`showCamera`,type:`boolean`,default:`true`,id:`param-show-camera`,children:_jsx(_components.p,{children:`Allow users to take a photo with the camera.`})}),`\n`,_jsx(ParamField,{body:`showUpload`,type:`boolean`,default:`true`,id:`param-show-upload`,children:_jsx(_components.p,{children:`Allow users to upload an image.`})}),`\n`,_jsx(ParamField,{body:`gtag`,type:`string`,id:`param-gtag`,children:_jsx(_components.p,{children:`Google Analytics (GTM) ID to track the widget.`})}),`\n`,_jsxs(ParamField,{body:`problems`,type:`string[]`,default:`all`,id:`param-problems`,children:[_jsxs(_components.p,{children:[`Skin issues to include in the analysis. Send as `,_jsx(_components.code,{children:`problems[0]`}),`, `,_jsx(_components.code,{children:`problems[1]`}),`, and so on.`]}),_jsxs(_components.p,{children:[`Options: `,_jsx(_components.code,{children:`fineWrinkles`}),`, `,_jsx(_components.code,{children:`eyeWrinkles`}),`, `,_jsx(_components.code,{children:`deepWrinkles`}),`, `,_jsx(_components.code,{children:`darkCircle`}),`, `,_jsx(_components.code,{children:`eyeBag`}),`, `,_jsx(_components.code,{children:`pores`}),`, `,_jsx(_components.code,{children:`pigment`}),`, `,_jsx(_components.code,{children:`redness`}),`, `,_jsx(_components.code,{children:`oiliness`}),`, `,_jsx(_components.code,{children:`dryness`}),`, `,_jsx(_components.code,{children:`sagginess`}),`, `,_jsx(_components.code,{children:`dullness`}),`, `,_jsx(_components.code,{children:`acne`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`status`,type:`boolean`,id:`param-status`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`true`}),` when the request succeeds.`]})}),`\n`,_jsx(ResponseField,{name:`data.url`,type:`string`,id:`param-data-url`,children:_jsxs(_components.p,{children:[`Widget URL to open. Its query string carries your settings: `,_jsx(_components.code,{children:`faceAgeId`}),`, the selected `,_jsx(_components.code,{children:`problems`}),` (as `,_jsx(_components.code,{children:`access`}),`), `,_jsx(_components.code,{children:`showCamera`}),`, `,_jsx(_components.code,{children:`showUpload`}),`, `,_jsx(_components.code,{children:`showFacePoint`}),` and `,_jsx(_components.code,{children:`callbackUrl`}),`.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://core.getfaceage.com/api/v1/widget/skin-analyze/set-parameters'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Accept: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'callbackUrl=\"https://www.your-domain.com/analyze-face-callback\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'faceAgeId=\"your_face_age_id\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'showCamera=\"true\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'showUpload=\"true\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'language=\"en\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'currency=\"$\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'gtag=\"\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'problems[0]=\"fineWrinkles\"'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --form`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'problems[1]=\"eyeWrinkles\"'`})]}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`200`,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://panel.getfaceage.com/widget/skin-analyze?faceAgeId=your_face_age_id\u0026type=skincare-analyzer\u0026access=fineWrinkles,eyeWrinkles\u0026showCamera=true\u0026showUpload=true\u0026showFacePoint=false\u0026callbackUrl=your_callback_url\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`401`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unauthenticated.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Skin analyze widget","description":"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.","api":"POST /widget/skin-analyze/set-parameters","authMethod":"none","icon":"mobile-screen-button","href":"/developer-guides/hosted-widget/skin-analyze"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"11\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --request\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'https://core.getfaceage.com/api/v1/widget/skin-analyze/set-parameters'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --header\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'Accept: application/json'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'callbackUrl=\"https://www.your-domain.com/analyze-face-callback\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'faceAgeId=\"your_face_age_id\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'showCamera=\"true\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'showUpload=\"true\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'language=\"en\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'currency=\"$\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'gtag=\"\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'problems[0]=\"fineWrinkles\"'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> --form\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> 'problems[1]=\"eyeWrinkles\"'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"6\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://panel.getfaceage.com/widget/skin-analyze?faceAgeId=your_face_age_id\u0026#x26;type=skincare-analyzer\u0026#x26;access=fineWrinkles,eyeWrinkles\u0026#x26;showCamera=true\u0026#x26;showUpload=true\u0026#x26;showFacePoint=false\u0026#x26;callbackUrl=your_callback_url\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"401","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Unauthenticated.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Skin analyze widget","path":"/widget/skin-analyze/set-parameters","servers":[{"url":"https://core.getfaceage.com/api/v1"}],"method":"post","request":{"security":[],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"callbackUrl":[{"type":"string","description":"URL where the analysis results are sent.","required":true}],"faceAgeId":[{"type":"string","description":"Your Face Age ID (API key), from the API keys page in the panel.","required":true}],"language":[{"type":"string","description":"Language of the widget."}],"currency":[{"type":"string","description":"Currency symbol."}],"showCamera":[{"type":"boolean","description":"Allow users to take a photo with the camera."}],"showUpload":[{"type":"boolean","description":"Allow users to upload an image."}],"gtag":[{"type":"string","description":"Google Analytics (GTM) ID to track the widget."}],"problems":[{"type":"array","items":[{"type":"string"}],"description":"Skin issues to include in the analysis. Send as `problems[0]` , `problems[1]` , and so on. Options: `fineWrinkles` , `eyeWrinkles` , `deepWrinkles` , `darkCircle` , `eyeBag` , `pores` , `pigment` , `redness` , `oiliness` , `dryness` , `sagginess` , `dullness` , `acne` ."}]}}],"examples":{"example":{"value":{"callbackUrl":"\u003cstring>","faceAgeId":"\u003cstring>","language":"\u003cstring>","currency":"\u003cstring>","showCamera":true,"showUpload":true,"gtag":"\u003cstring>","problems":["\u003cstring>"]}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"status":[{"type":"boolean","description":"`true` when the request succeeds."}],"data.url":[{"type":"string","description":"Widget URL to open. Its query string carries your settings: `faceAgeId` , the selected `problems` (as `access` ), `showCamera` , `showUpload` , `showFacePoint` and `callbackUrl` ."}]}}],"examples":{"example":{"value":{"status":true,"data.url":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"getfaceage-com","siteName":"Face Age","title":"Skin analyze widget - Face Age","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T12:21:27.048Z","originalFileLocation":"developer-guides/hosted-widget/skin-analyze.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Face Age\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Skin analyze widget - Face Age\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Face Age\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://getfaceage-com.mintlify.app/_mintlify/api/og/v2?division=Skin+analyze+widget\u0026amp;title=Skin+analyze+widget\u0026amp;description=Get+a+hosted+skin+analysis+URL+for+your+mobile+app%2C+iframe+or+website%2C+and+receive+results+at+your+callback+URL.\u0026amp;theme=bec71b447ca2a320992fe8d6\u0026amp;signature=d3eaa3e7f9d9cb4e3356e53b6271c3a1aeed384c1ea679aa8fcb9bc3fadb7f42\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Skin analyze widget - Face Age\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://getfaceage-com.mintlify.app/_mintlify/api/og/v2?division=Skin+analyze+widget\u0026amp;title=Skin+analyze+widget\u0026amp;description=Get+a+hosted+skin+analysis+URL+for+your+mobile+app%2C+iframe+or+website%2C+and+receive+results+at+your+callback+URL.\u0026amp;theme=bec71b447ca2a320992fe8d6\u0026amp;signature=d3eaa3e7f9d9cb4e3356e53b6271c3a1aeed384c1ea679aa8fcb9bc3fadb7f42\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/getfaceage-com/xt4OOYWIarO7nhsp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Face Age\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF3786\">\u003clink data-mint-head rel=\"canonical\" href=\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/developer-guides/hosted-widget/skin-analyze.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://getfaceage.com/#organization\",\"name\":\"Face Age\",\"url\":\"https://getfaceage.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/getfaceage-com/joUDhpahm_GZ1A2c/logo/light.svg?fit=max\u0026auto=format\u0026n=joUDhpahm_GZ1A2c\u0026q=85\u0026s=bee817ecadd3488237c35cf0602ec492\"}},{\"@type\":\"WebSite\",\"@id\":\"https://getfaceage.com/docs#website\",\"name\":\"Face Age\",\"url\":\"https://getfaceage.com/docs\",\"publisher\":{\"@id\":\"https://getfaceage.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze#webpage\",\"url\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze\",\"name\":\"Skin analyze widget\",\"description\":\"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\",\"dateModified\":\"2026-11-02T12:21:27.048Z\",\"isPartOf\":{\"@id\":\"https://getfaceage.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Face Age\",\"item\":\"https://getfaceage.com/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Skin analyze widget\",\"item\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze#apireference\",\"headline\":\"Skin analyze widget\",\"name\":\"Skin analyze widget\",\"description\":\"Get a hosted skin analysis URL for your mobile app, iframe or website, and receive results at your callback URL.\",\"url\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze\",\"mainEntityOfPage\":{\"@id\":\"https://getfaceage.com/docs/developer-guides/hosted-widget/skin-analyze#webpage\"},\"dateModified\":\"2026-11-02T12:21:27.048Z\",\"publisher\":{\"@id\":\"https://getfaceage.com/#organization\"},\"isPartOf\":{\"@id\":\"https://getfaceage.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Face Age\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Face Age","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://panel.getfaceage.com"},{"anchor":"Face Age for Shopify","icon":"shopify","href":"https://apps.shopify.com/face-age"},{"anchor":"Integrations","icon":"puzzle-piece","href":"https://getfaceage.com/integrations"},{"anchor":"Blog","icon":"newspaper","href":"https://getfaceage.com/blog"}]},"tabs":[{"tab":"Developer Guides","icon":"code","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"Face Age developer docs","sidebarTitle":"Home","icon":"house","mode":"wide","href":""},{"title":"Getting set up","icon":"user-plus","href":"/developer-guides/introduction"},{"title":"Quickstart","icon":"bolt","href":"/developer-guides/quickstart"}]},{"group":"Display modes","icon":"window-restore","pages":[{"title":"Display modes overview","sidebarTitle":"Overview","icon":"layer-group","href":"/developer-guides/display-modes/overview"},{"title":"Section","icon":"table-rows","href":"/developer-guides/display-modes/section"},{"title":"Modal","icon":"window-maximize","href":"/developer-guides/display-modes/modal"},{"title":"Widget","icon":"mobile-screen","href":"/developer-guides/display-modes/widget"}]},{"group":"Analysis","icon":"face-viewfinder","pages":[{"title":"AI skin analysis","icon":"face-viewfinder","href":"/developer-guides/analysis/skin-analysis"},{"title":"Skin report","icon":"file-lines","href":"/developer-guides/analysis/skin-report"},{"title":"Analysis history","icon":"clock-rotate-left","href":"/developer-guides/analysis/history"},{"title":"Compare","icon":"code-compare","href":"/developer-guides/analysis/compare"}]},{"group":"Personalization","icon":"wand-magic-sparkles","pages":[{"title":"Quiz","icon":"clipboard-question","href":"/developer-guides/personalization/quiz"},{"title":"Product recommendations","icon":"bag-shopping","href":"/developer-guides/personalization/product-recommendations"},{"title":"Personalized routines","icon":"sun","href":"/developer-guides/personalization/routines"},{"title":"Discount banners","icon":"tag","href":"/developer-guides/personalization/discounts"}]},{"group":"Integrations","icon":"plug","pages":[{"title":"Events","icon":"bolt-lightning","href":"/developer-guides/integrations/events"},{"title":"Analytics","icon":"chart-line","href":"/developer-guides/integrations/analytics"},{"title":"CRM integration","icon":"address-book","href":"/developer-guides/integrations/crm"}]},{"group":"Reference","icon":"book","pages":[{"title":"Configuration","icon":"sliders","href":"/developer-guides/reference/configuration"},{"title":"API reference","icon":"code","href":"/developer-guides/reference/sdk-api"}]},{"group":"Frameworks","icon":"layer-group","pages":[{"title":"React","icon":"react","href":"/developer-guides/frameworks/react"},{"title":"Vue","description":"Use Face Age in a Vue 2 or Vue 3 app — with the face-age SDK directly, or the vue-face-age and vue3-face-age wrappers.","icon":"vuejs","href":"/developer-guides/frameworks/vue"}]},{"group":"Skin analyze widget","icon":"mobile-screen-button","pages":[{"title":"Skin analyze widget","api":"POST /widget/skin-analyze/set-parameters","icon":"mobile-screen-button","href":"/developer-guides/hosted-widget/skin-analyze"}]}]},{"tab":"API Reference","icon":"server","pages":[{"title":"API Reference","href":"/api-reference/authentication"}]},{"tab":"Help Center","icon":"life-ring","pages":[{"title":"Help Center","href":"/help-center/overview"}]},{"tab":"Analytics","icon":"chart-mixed","pages":[{"title":"Analytics","href":"/analytics/events"}]}]},"basePath":"","title":"Skin analyze widget - Face Age","buildId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","deploymentId":"dpl_Acry4NrQAgjcikyFgVE2eJ7XQCAv","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","07c022d89b","a74be98ba7"],"chunks":["OpenApiReferenceProvider-C2Ap4tLG.js","utils-DOQ4WuIX.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-PBLA84v6.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BSX8gB2N.js","snippetPresets-DEKVfaPa.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BSZ21_fK.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Bd7Ye-9k.js","shallow-Yd0HfeLO.js","getApiPlaygroundDisplay-CLdBbHLF.js","CodeSnippet-BJnsDPfe.js","CodeSnippets-CdAH7YRl.js","Page-CFXBIa-t.js","getPastedJson-Wsal3Fw6.js","icon-WwS_mnlk.js","MethodPill-CYxxzIKu.js","DuplicateIcon-CejZ8LQc.js","createIcon-DKEFCi_0.js","DynamicMarkdown-BCpKo5ib.js","SectionHeading-ClsMcgQm.js","axios-vUo_bRtp.js","Frame-D9VvKFqQ.js","zoom-image-lightbox-DBRtNxbY.js","lightbox-handle-r17bVUz3.js"]}