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

# Upload Picture

`POST /v1/metadata/upload-picture`

## Request

- Base URL: `https://example.com:443`
- URL: `https://example.com:443/v1/metadata/upload-picture`
- Auth: none required
- TypeScript: <https://skmtc.dev/nayax/apis/nayax-cortina-api/docs/v1/metadata/upload-picture/post.ts> (a function with typed inputs; its response is checked against the schema)

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.dev/nayax/apis/nayax-cortina-api.md) - [All operations](https://skmtc.dev/nayax/apis/nayax-cortina-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nayax/apis/nayax-cortina-api/revisions/421f6f83c257?raw)
