---
title: "Convert Document To Ic"
method: POST
path: "/v1/documents/ic"
tags: ["documents"]
---

# Convert Document To Ic

`POST /v1/documents/ic`

## Request

- Base URL: `https://api.opero.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.opero.pro/v1/documents/ic`
- Auth: none declared

Internal endpoint: convert a spreadsheet in S3 to IronCalc bytes.

Called only by the Next.js presign route, which has already authorized the
caller for this key. Requires a valid X-Webhook-Secret header. The result is
cached as an .ic sibling next to the original, mirroring the .pdf sibling.

## Request body

- IcConversionRequest
  - `s3_key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/opero/apis/opero-pro-api.md) - [All operations](https://skmtc.dev/opero/apis/opero-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opero/apis/opero-pro-api/revisions/e6ede41aeb9b?raw)
