---
title: "POST /api/v1/project/upload-session/{uid}/batch_upload/"
method: POST
path: "/api/v1/project/upload-session/{uid}/batch_upload/"
tags: ["project", "v1"]
---

# POST /api/v1/project/upload-session/{uid}/batch_upload/

`POST /api/v1/project/upload-session/{uid}/batch_upload/`

Upload files from given sub-folder in media/data/documents folder

    Params:
        - source_path: relative path to a folder with documents

## Path parameters

- `uid` string, required

## Request body

- UploadSessionBatchUploadRequest
  - `folder` string, required

## Response `201`

- UploadSessionDetail
  - `uid` string, uuid
  - `project` UploadSessionDetailProject
    - `pk` integer
    - `name` string, required
    - `description` string, nullable
    - `send_email_notification` boolean
    - `hide_clause_review` boolean
    - `status` integer
    - `status_data` ProjectListStatusData
      - `id` integer
      - `name` string, required
      - `code` string, nullable
      - `order` integer, required
      - `is_active` boolean
      - `group` integer, nullable
    - `owners` integer[]
    - `owners_data` ProjectDetailOwnersData[]
      - `id` integer
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `last_name` string
      - `first_name` string
      - `email` string, email
      - `is_superuser` boolean — Designates that this user has all permissions without explicitly assigning them.
      - `is_staff` boolean — Designates whether the user can log into this admin site.
      - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
      - `name` string
      - `role` integer, nullable
      - `role_data` ProjectDetailRoleData
        - `id` integer
        - `name` string, required
        - `code` string, required
        - `abbr` string
        - `order` integer, required
        - `is_admin` boolean
        - `is_top_manager` boolean
        - `is_manager` boolean
        - `is_reviewer` string
      - `organization` string, nullable
      - `photo` string
      - `permissions` object
      - `groups` integer[] — The groups this user belongs to. A user will get all permissions granted to each of their groups.
    - `reviewers` integer[]
    - `reviewers_data` ProjectDetailOwnersData[]
      - `id` integer
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `last_name` string
      - `first_name` string
      - `email` string, email
      - `is_superuser` boolean — Designates that this user has all permissions without explicitly assigning them.
      - `is_staff` boolean — Designates whether the user can log into this admin site.
      - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
      - `name` string
      - `role` integer, nullable
      - `role_data` ProjectDetailRoleData
        - `id` integer
        - `name` string, required
        - `code` string, required
        - `abbr` string
        - `order` integer, required
        - `is_admin` boolean
        - `is_top_manager` boolean
        - `is_manager` boolean
        - `is_reviewer` string
      - `organization` string, nullable
      - `photo` string
      - `permissions` object
      - `groups` integer[] — The groups this user belongs to. A user will get all permissions granted to each of their groups.
    - `super_reviewers` integer[]
    - `super_reviewers_data` ProjectDetailOwnersData[]
      - `id` integer
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `last_name` string
      - `first_name` string
      - `email` string, email
      - `is_superuser` boolean — Designates that this user has all permissions without explicitly assigning them.
      - `is_staff` boolean — Designates whether the user can log into this admin site.
      - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
      - `name` string
      - `role` integer, nullable
      - `role_data` ProjectDetailRoleData
        - `id` integer
        - `name` string, required
        - `code` string, required
        - `abbr` string
        - `order` integer, required
        - `is_admin` boolean
        - `is_top_manager` boolean
        - `is_manager` boolean
        - `is_reviewer` string
      - `organization` string, nullable
      - `photo` string
      - `permissions` object
      - `groups` integer[] — The groups this user belongs to. A user will get all permissions granted to each of their groups.
    - `junior_reviewers` integer[]
    - `junior_reviewers_data` ProjectDetailOwnersData[]
      - `id` integer
      - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
      - `last_name` string
      - `first_name` string
      - `email` string, email
      - `is_superuser` boolean — Designates that this user has all permissions without explicitly assigning them.
      - `is_staff` boolean — Designates whether the user can log into this admin site.
      - `is_active` boolean — Designates whether this user should be treated as active. Unselect this instead of deleting accounts.
      - `name` string
      - `role` integer, nullable
      - `role_data` ProjectDetailRoleData
        - `id` integer
        - `name` string, required
        - `code` string, required
        - `abbr` string
        - `order` integer, required
        - `is_admin` boolean
        - `is_top_manager` boolean
        - `is_manager` boolean
        - `is_reviewer` string
      - `organization` string, nullable
      - `photo` string
      - `permissions` object
      - `groups` integer[] — The groups this user belongs to. A user will get all permissions granted to each of their groups.
    - `type` string
    - `type_data` ProjectListTypeData, required
      - `uid` string, uuid
      - `code` string, required — Field codes must be lowercase, should start with a Latin letter, and contain only Latin letters, digits, and underscores.
      - `title` string, required
    - `progress` string
    - `user_permissions` string
  - `created_by` TaskQueueReviewersData, required
    - `pk` integer
    - `username` string, required — Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
    - `role` integer, nullable
  - `created_date` string, date-time
  - `document_type` string
  - `progress` string

## Changes

- **2020-12-11** `0957c4a7ae3d` — 1 breaking, 2 warning, 20 info
  - the `project` response's property type/format changed from `integer`/`` to `object`/`` for status `201`
  - removed the optional property `completed` from the response with the `201` status
  - removed the optional property `is_canceling` from the response with the `201` status
  - added the optional property `created_by/role` to the response with the `201` status
  - …19 more

[Change history](https://skmtc.dev/lexpredict/apis/contraxsuite-api/changes/api/v1/project/upload-session/:uid/batch_upload/post.md)

---

[API](https://skmtc.dev/lexpredict/apis/contraxsuite-api.md) · [All operations](https://skmtc.dev/lexpredict/apis/contraxsuite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lexpredict/contraxsuite-api/revisions/0957c4a7ae3d/schema)
