---
title: "Fetch a shipment document validation status"
method: GET
path: "/shipments/documents/{file_id}"
tags: ["Shipments"]
---

# Fetch a shipment document validation status

`GET /shipments/documents/{file_id}`

## Request

- Base URL: `https://app-sandbox.resolvepay.com/api`
- URL: `https://app-sandbox.resolvepay.com/api/shipments/documents/{file_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP basic
- TypeScript: <https://skmtc.dev/resolvepay/apis/resolve-api-reference/docs/shipments/documents/:file_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `file_id` string, required

## Response `200`

Shipment document validation state.

- ShipmentDocumentStatus
  - `file_id` string, required
  - `validation_status` 'pending_upload' | 'uploaded_pending_validation' | 'accepted' | 'rejected' | 'failed', required
  - `validation_reasons` string[], required

## Other responses

- `401`: Unauthorized error
- `404`: Not found error

---

[API](https://skmtc.dev/resolvepay/apis/resolve-api-reference.md) - [All operations](https://skmtc.dev/resolvepay/apis/resolve-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/resolvepay/apis/resolve-api-reference/revisions/c62edc454aaa?raw)
