---
title: "Upload a document (e.g. signed LOA)"
method: POST
path: "/v1/caller-trust/documents"
tags: ["Documents"]
---

# Upload a document (e.g. signed LOA)

`POST /v1/caller-trust/documents`

## Request

- Base URL: `https://api.revdesk.com`
- URL: `https://api.revdesk.com/v1/caller-trust/documents`
- Auth: HTTP bearer

Uploads a base64-encoded PDF to the carrier's document API. Returns a document ID that can be passed to the reputation enable endpoint. Documents expire after 30 minutes if not linked to a service — upload immediately before enabling reputation.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `file_base64` string, required
  - `filename` string, required
  - `customer_reference` string

## Response `200`

Success

- object
  - `data` object, required
    - `document_id` string, required
    - `filename` string, required
    - `content_type` string, nullable, required
    - `status` string, nullable, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict (incl. idempotency conflicts)
- `429`: Rate limited

---

[API](https://skmtc.dev/revdesk/apis/revdesk-v1-api.md) · [All operations](https://skmtc.dev/revdesk/apis/revdesk-v1-api/llms.txt) · [OpenAPI document](https://skmtc.dev/revdesk/apis/revdesk-v1-api/revisions/fcbd43530a48?raw)
