---
title: "Validate documents"
method: POST
path: "/api/v1/external/shipments/{shipmentId}/documents/validate"
tags: ["Documents"]
---

# Validate documents

`POST /api/v1/external/shipments/{shipmentId}/documents/validate`

## Request

- Base URL: `https://api.wove.com`
- URL: `https://api.wove.com/api/v1/external/shipments/{shipmentId}/documents/validate`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/wove/apis/wove-external-api/docs/api/v1/external/shipments/:shipmentId/documents/validate/post.ts> (a function with typed inputs; its response is checked against the schema)

Validate specific documents within a shipment.

## Path parameters

- `shipmentId` string, required

## Request body

- object
  - `documentIds` string[], required

## Response `200`

Validation completed

- object
  - `success` boolean
  - `data` object
    - `status` 'valid' | 'errors'
    - `issues` object[]
    - `validatedAt` string, date-time
    - `documentIds` string[]

---

[API](https://skmtc.dev/wove/apis/wove-external-api.md) - [All operations](https://skmtc.dev/wove/apis/wove-external-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wove/apis/wove-external-api/revisions/37290e267e07?raw)
