---
title: "Confirm the upload landed (records size + hash)"
method: POST
path: "/v1/sync/books/{bookId}/file/confirm"
tags: ["sync/library"]
---

# Confirm the upload landed (records size + hash)

`POST /v1/sync/books/{bookId}/file/confirm`

## Request

- Base URL: `https://api.ditto.audio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ditto.audio/v1/sync/books/{bookId}/file/confirm`
- Auth: HTTP bearer

## Path parameters

- `bookId` string, required

## Request body

- ConfirmBlobDto
  - `s3Key` string, required
  - `contentHash` string

## Response `201`

---

[API](https://skmtc.dev/ditto/apis/ditto-audio-api.md) · [All operations](https://skmtc.dev/ditto/apis/ditto-audio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ditto/apis/ditto-audio-api/revisions/30c8d7c218da?raw)
