---
title: "Validate interior file"
method: POST
path: "/validate-interior/"
tags: ["Files validation"]
---

# Validate interior file

`POST /validate-interior/`

This endpoint allows you to validate interior file

## Request body

- object
  - `source_url` string, required — Public url of the interior source file
  - `pod_package_id` string — POD Package ID of the book. Required to run extended validation.

## Response `201`

Created

- object
  - `id` integer, required
  - `source_url` string, required — The url of the source file.
  - `page_count` string — Detected page count of the file.
  - `errors` string[] — List of errors detected in the file.
  - `status` 'VALIDATING' | 'VALIDATED' | 'ERROR' — Status of source file
  - `valid_pod_package_ids` string[] — List of detected valid POD package IDs for source file.

## Other responses

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

---

[API](https://skmtc.dev/lulu/apis/universal-publishing-platform-api.md) · [All operations](https://skmtc.dev/lulu/apis/universal-publishing-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lulu/universal-publishing-platform-api/revisions/3119f71811f8/schema)
