---
title: "Upload custom UI assets"
method: POST
path: "/api/sign-in-exp/default/custom-ui-assets"
tags: ["Sign-in experience"]
---

# Upload custom UI assets

`POST /api/sign-in-exp/default/custom-ui-assets`

Upload a zip file containing custom web assets such as HTML, CSS, and JavaScript files, then replace the default sign-in experience with the custom UI assets.

## Response `200`

An JSON object containing the custom UI assets ID.

- object
  - `customUiAssetId` string, required

## Other responses

- `400` — Bad request. The request body is invalid.
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Failed to unzip or upload the custom UI assets to storage provider.

---

[API](https://skmtc.net/logto/apis/logto-api-references.md) · [All operations](https://skmtc.net/logto/apis/logto-api-references/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/logto/logto-api-references/versions/a163dc77d842/schema)
