---
title: "Serve media for workers (Base64 JSON)"
method: GET
path: "/media/worker/{id}"
tags: ["Media"]
---

# Serve media for workers (Base64 JSON)

`GET /media/worker/{id}`

## Request

- Base URL: `https://api.faireplace.com/api`
- URL: `https://api.faireplace.com/api/media/worker/{id}`
- Auth: HTTP bearer

Endpoint intended for workers (specific API key/Bearer).
- Returns the file in Base64.
- Requires `X-Tenant-ID` and `X-Worker-Type`.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Worker-Type` string, required
- `X-Tenant-ID` string, required

## Response `200`

OK

- WorkerMediaResponse
  - `pdf_base64` string, nullable
  - `document_name` string, nullable
  - `content_type` string, nullable
  - `file_size` integer, nullable
  - `security_level` 'STANDARD' | 'SENSITIVE' | 'CRITICAL': Security/encryption level. CRITICAL and SENSITIVE may trigger SSE-C encrypted storage; STANDARD is unencrypted.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found

---

[API](https://skmtc.dev/faireplace/apis/faireplace-property-management-api.md) · [All operations](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faireplace/apis/faireplace-property-management-api/revisions/69de39762919?raw)
