---
search:
  tags:
    - Documents
    - POST
seo:
  description: >-
    Atomic swap of the document's PDF bytes — existing fields are remapped onto
    the new… Reference for the POST /documents/pdf/replace endpoint in the Seal
    API.
sidebar:
  label: Replace the working PDF of a draft (fields remapped)
  badge: POST
title: Replace the working PDF of a draft (fields remapped)
type: openapi-operation
---
Atomic swap of the document's PDF bytes — existing fields are remapped onto the new file where pages/geometry still line up.

`POST /documents/pdf/replace`
