---
title: "Upload Picture"
method: POST
path: "/v1/metadata/upload-picture"
tags: ["Metadata"]
---

# Upload Picture

`POST /v1/metadata/upload-picture`

Uploads a picture to the server with associated metadata. The picture and its details are provided in the request body.

## Request body

- UploadPictureRequest
  - `ImageTypeLutId` integer — The identifier for the type of image being uploaded.
  - `EntityId` string, nullable — The identifier of the entity to which the image is associated.
  - `Image` string, nullable — The base64-encoded string representing the image to be uploaded.
  - `ImageCrop` string, nullable — Optional cropping instructions for the image, if applicable.
  - `IsMonyx` boolean — Indicates whether the image is associated with Monyx (a specific application or service).

## Response `200`

The picture was successfully uploaded, and the response contains details about the uploaded picture.

- UploadPictureResponse
  - `ImageTypeLutId` integer — The identifier for the type of image that was uploaded.
  - `Key` string, nullable — A unique key associated with the uploaded image.
  - `KeyName` string, nullable — The name of the key associated with the uploaded image.
  - `Urls` object, nullable — A map of URLs where the uploaded image can be accessed.

---

[API](https://skmtc.net/nayax/apis/nayax-cortina-api.md) · [All operations](https://skmtc.net/nayax/apis/nayax-cortina-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nayax/nayax-cortina-api/revisions/421f6f83c257/schema)
