---
title: "Create an upload"
method: POST
path: "/api/v1/uploads"
tags: ["Uploads"]
---

# Create an upload

`POST /api/v1/uploads`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/uploads`
- Auth: `bearer_auth` (a scheme the document does not define)

## Request body

- object
  - `upload` object
    - `list_id` integer
    - `upload_file` string, binary
    - `upload_content` string
  - `source` string

## Response `201`

upload created

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` object
      - `id` integer
      - `upload_type` string
      - `status` string, nullable
      - `status_text` string
      - `created_at` string, date-time
      - `updated_at` string, date-time
    - `relationships` object
      - `list` object
        - `data` object, nullable

## Other responses

- `422`: upload failed

---

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