Skip to main content
POST
/
vault
/
{id}
/
upload
/
{objectId}
/
confirm
curl -X POST "https://api.case.dev/vault/%3Cstring%3E/upload/%3Cstring%3E/confirm" \ -H "Authorization: Bearer $CASEDEV_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "success": true, "sizeBytes": 0 }'
{
  "vaultId": "vault_123",
  "objectId": "obj_456",
  "status": "completed",
  "alreadyConfirmed": false
}

Documentation Index

Fetch the complete documentation index at: https://docs.case.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Path Parameters

id
string
required

Vault ID

objectId
string
required

Vault object ID

Body

application/json
success
enum<boolean>
required

Whether the upload succeeded

Available options:
true
sizeBytes
integer
required

Uploaded file size in bytes

Required range: 1 <= x <= 5368709120
etag
string

S3 ETag for the uploaded object (optional if client cannot access ETag header)

Response

Confirmation recorded

vaultId
string
objectId
string
status
enum<string>
Available options:
completed,
failed
alreadyConfirmed
boolean