---
title: "Upload a replacement image"
method: POST
path: "/sites/{siteId}/images/upload"
tags: ["Images"]
---

# Upload a replacement image

`POST /sites/{siteId}/images/upload`

## Request

- Base URL: `https://api.universally.com`
- URL: `https://api.universally.com/sites/{siteId}/images/upload`
- Auth: API key in header `X-API-Key`

Stores an image for use as a replacement. JPEG, PNG, WebP or GIF, up to 5 MB.

## Path parameters

- `siteId` string, required

## Response `200`

Success

- object
  - `success` boolean
  - `data` unknown
  - `message` string, nullable
  - `code` string

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/universally/apis/universally-platform-api.md) · [All operations](https://skmtc.dev/universally/apis/universally-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/universally/apis/universally-platform-api/revisions/d61beda7bab7?raw)
