---
title: "1. Create an Upload Slot"
method: GET
path: "/uploadmanager.newuploadslot"
tags: ["Product Image", "Attachments"]
---

# 1. Create an Upload Slot

`GET /uploadmanager.newuploadslot`

## Request

- Base URL: `https://companynode.pricefx.com/pricefx/companypartition`
- URL: `https://companynode.pricefx.com/pricefx/companypartition/uploadmanager.newuploadslot`
- Auth: one of:
  - HTTP basic
  - API key in header `X-PriceFx-jwt`
- TypeScript: <https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/docs/uploadmanager.newuploadslot/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a slot **ID** that is needed for the **`/bdmanager.upload/{typedId}/{slot_id}`**, or `/productimages.upload/{slot_id}/{sku}` (*Upload a File*) endpoint.

<!-- theme: info-->
>**Information**
>
>To upload a file you need to perform the following actions:
>1. Create an Upload Slot
>2. Upload a File
>3. Delete an Upload Slot

## Response `200`

Slot created.

- object
  - `node` string
  - `csrfToken` string
  - `data` object[]
    - `id` string
  - `status` number

---

[API](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api.md) - [All operations](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pricefx/apis/the-pricefx-backend-api/revisions/23d941b00ac0?raw)
