Burn & Claim’s new API is in preview: these pages describe it as it will be at launch.
Burn & Claim Docs

Request validation and re-encoding on Inngest

After the PUT: validates the upload and re-encodes it on Inngest. A file that needs review has no public URL until Burn & Claim approves it. Needs `burner.edit`.

POST/v1/orgs/{orgId}/files/{fileId}/finalize

After the PUT: validates the upload and re-encodes it on Inngest. A file that needs review has no public URL until Burn & Claim approves it. Needs burner.edit.

Authorization

AuthorizationBearer <token>

A Synq access token for this API: bnc.read for reads, bnc.write for changes.

In: header

Scope: bnc.write

Path Parameters

orgId*string

The organization's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$
fileId*string

The file's id

Match^file_[0-9a-hjkmnp-tv-z]{26}$

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/orgs/string/files/string/finalize"
{  "id": "file_01j3sa8pvcfp79z85hrb9y9xd6",  "purpose": "burner_logo",  "status": "pending",  "visibility": "private",  "reviewStatus": "not_required",  "rejectedReason": "string",  "contentType": "image/png",  "size": 0,  "width": 0,  "height": 0,  "sha256": "string",  "url": "https://acme.example"}