---
title: "Upload a new image"
method: POST
path: "/images"
---

# Upload a new image

`POST /images`

## Request

- Base URL: `https://app.visoid.com/api/v1`
- URL: `https://app.visoid.com/api/v1/images`
- Auth: none declared

## Request body

- object
  - `image` string, required: Base64 of the image. Height and width of the image should be minimum 50px Images above 67,108,864 total pixels (8192×8192) are rejected, and images larger than 4096px on either side are downscaled to fit. This is limited by AWS Lambdas: the full request size is limited to 6MB.
  - `name` string
  - `projectId` string, uuid: Optional project ID to associate the image with. If not provided, the image is added to the project this connection is pointed at, or to the most recently updated project when it is pointed at none.

## Response `201`

Successfully uploaded

- object: ID of the created image
  - `id` string, uuid
  - `webUrl` string: Direct link to view the uploaded image in the app, in the project it was added to.

---

[API](https://skmtc.dev/visoid/apis/visoid-public-api.md) - [All operations](https://skmtc.dev/visoid/apis/visoid-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visoid/apis/visoid-public-api/revisions/e75f7f5507e0?raw)
