> ## Documentation Index
> Fetch the complete documentation index at: https://developer.plugchoice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload Asset

Uploads a branding asset for a custom domain. The accepted file types and size limits depend on the asset type.

<ParamField path="team" type="string" required>
  The UUID of the team.
</ParamField>

<ParamField path="domain" type="integer" required>
  The ID of the custom domain.
</ParamField>

<ParamField path="type" type="string" required>
  The type of asset to upload. One of `favicon`, `logo`, or `splash`.

  | Type      | Accepted formats          | Max size |
  | --------- | ------------------------- | -------- |
  | `favicon` | SVG, ICO, PNG             | 512 KB   |
  | `logo`    | SVG, PNG, JPG, JPEG, WebP | 1 MB     |
  | `splash`  | PNG, JPG, JPEG, WebP      | 2 MB     |
</ParamField>

<ParamField body="file" type="file" required>
  The image file to upload.
</ParamField>

## Response

<ResponseField name="message" type="string">
  A confirmation message (e.g., `Favicon updated.`).
</ResponseField>

<ResponseField name="url" type="string">
  The public URL of the uploaded asset.
</ResponseField>
