---
title: "Upload a new consent document PDF"
method: POST
path: "/api/v1/user-consent/document"
tags: ["user-consent"]
---

# Upload a new consent document PDF

`POST /api/v1/user-consent/document`

## Response `201`

- UserConsentDocumentResponseDTO
  - `contentSize` integer, required — The size of the consent document content in bytes
  - `createdAt` string, date-time, required — The date and time the consent document was created
  - `fileName` string, required — The name of the consent document file
  - `id` string, uuid, required — The unique identifier of the consent document
  - `lastUpdatedAt` string, date-time, required — The date and time the consent document was last updated
  - `organizationId` string, uuid, required — The unique identifier of the owning organization
  - `uploadedBy` string, uuid, required — The user ID who uploaded the consent document
  - `version` integer, required — Monotonic version number assigned to the consent document

---

[API](https://skmtc.net/wejam/apis/jam.md) · [All operations](https://skmtc.net/wejam/apis/jam/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wejam/jam/revisions/bd5a5f406bca/schema)
