---
title: "Upload my license document"
method: POST
path: "/licensees/me/documents"
tags: ["Licensees"]
---

# Upload my license document

`POST /licensees/me/documents`

## Request

- Base URL: `https://api.surense.com/api/v1`
- URL: `https://api.surense.com/api/v1/licensees/me/documents`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.surense.com/oauth/token`

Upload a yearly license document (PDF) for the currently authenticated licensee.

## Query parameters

- `year` integer, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required

## Response `200`

OK

- LicenseDocumentValue
  - `createdDate` string, date-time
  - `createdBy` string, uuid
  - `creatorName` string
  - `lastModifiedDate` string, date-time
  - `lastModifiedBy` string, uuid
  - `version` integer
  - `id` string, uuid
  - `licenseeId` string, uuid
  - `licenseYear` integer
  - `documentId` string, uuid
  - `documentName` string
  - `documentMime` string
  - `uploadedDate` string, date-time
  - `uploadedBy` string, uuid

---

[API](https://skmtc.dev/surense/apis/licensee-api.md) - [All operations](https://skmtc.dev/surense/apis/licensee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/surense/apis/licensee-api/revisions/1d8a175bd666?raw)
