> For the complete documentation index, see [llms.txt](https://openapi.logto.io/llms.txt)

# 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.



## Servers
- Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.)


## Authentication methods
- O auth2


## Parameters



### Body: multipart/form-data (object)

- **file** ()
  The zip file containing custom web assets such as HTML, CSS, and JavaScript files.



## Responses
### 200
An JSON object containing the custom UI assets ID.

#### Body: application/json (object)
- **customUiAssetId** (string)


### 400
Bad request. The request body is invalid.

### 401
Unauthorized

### 403
Bring your UI is not available under the current entitlements, including when the self-hosted license grace period has ended.

### 500
Failed to unzip or upload the custom UI assets to storage provider.


[Powered by Bump.sh](https://bump.sh)
