> For the complete documentation index, see [llms.txt](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://requestmechanic.gitbook.io/request-mechanic-api-documentation/user/upload-supporting-document.md).

# Upload Supporting Document

Use the `POST /user/supporting-documents/` endpoint to upload a new supporting document for a mechanic.

**Parameters**

**Body Parameters**

| **Field**  | **Type** | **Description**                            |
| ---------- | -------- | ------------------------------------------ |
| `user`     | String   | The ID of the user uploading the document. |
| `document` | String   | The URL of the document being uploaded.    |

**Responses**

**Response Code: 201**

| **Field**     | **Type**           | **Description**                                  |
| ------------- | ------------------ | ------------------------------------------------ |
| `id`          | String             | The unique ID of the supporting document.        |
| `user`        | String             | The ID of the user associated with the document. |
| `document`    | String             | The URL of the uploaded document.                |
| `uploaded_at` | String($date-time) | The timestamp when the document was uploaded.    |

**Example Request Body**

```json
{
  "user": "user123",
  "document": "http://example.com/document.pdf"
}
```

**Example Response Body**

```json
{
  "id": "doc456",
  "user": "user123",
  "document": "http://example.com/document.pdf",
  "uploaded_at": "2024-12-10T12:00:00Z"
}
```
