---
title: "Upload and inspect an Excel workbook"
method: POST
path: "/api/excel/upload/inspect"
tags: ["Excel"]
---

# Upload and inspect an Excel workbook

`POST /api/excel/upload/inspect`

## Request

- Base URL: `https://api.dokmatiq.com`
- URL: `https://api.dokmatiq.com/api/excel/upload/inspect`
- Auth: API key in header `X-API-Key`

Upload an Excel file and return metadata: sheet names, row/column counts, named ranges.

## Response `200`

Workbook metadata

## Other responses

- `400`: Invalid file

---

[API](https://skmtc.dev/dokmatiq/apis/docgen-api.md) · [All operations](https://skmtc.dev/dokmatiq/apis/docgen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dokmatiq/apis/docgen-api/revisions/3fa1a922764d?raw)
