---
title: "Generates proofs for the fields from latest version of the document."
method: POST
path: "/v2/documents/{document_id}/proofs"
tags: ["Documents"]
---

# Generates proofs for the fields from latest version of the document.

`POST /v2/documents/{document_id}/proofs`

Generates proofs for the fields from latest version of the document.

## Path parameters

- `document_id` string, required

## Headers

- `authorization` string, required

## Request body

- CoreapiProofsRequest
  - `fields` string[]

## Response `200`

OK

- CoreapiProofsResponse
  - `field_proofs` DocumentsProof[]
    - `hash` string
    - `property` string
    - `salt` string
    - `sorted_hashes` string[]
    - `value` string
  - `header` CoreapiProofResponseHeader
    - `document_id` string
    - `state` string
    - `version_id` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.net/centrifuge/apis/centrifuge-os-node-api.md) · [All operations](https://skmtc.net/centrifuge/apis/centrifuge-os-node-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/centrifuge/centrifuge-os-node-api/versions/36808f8744e0/schema)
