Authorize one private image upload
A five-minute PUT signed for the exact type and length. Bytes go directly to private storage. Finalize after the PUT; review-required images have no public URL before approval.
/v1/orgs/{orgId}/filesA five-minute PUT signed for the exact type and length. Bytes go directly to private storage. Finalize after the PUT; review-required images have no public URL before approval.
A Synq access token for this API: bnc.read for reads, bnc.write for changes.
In: header
Scope: bnc.write
Path Parameters
The organization's id
^org_[0-9a-hjkmnp-tv-z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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" \ -H "Content-Type: application/json" \ -d '{ "purpose": "burner_logo", "contentType": "image/png", "contentLength": 1 }'{ "file": { "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" }, "upload": { "method": "PUT", "url": "https://acme.example", "headers": {}, "expiresAt": "2026-10-21T12:00:00.000Z" }}Request validation and re-encoding on Inngest POST
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`.
A new link and 7 more days; the old link stops working POST
Makes a new link for a pending invite, good for 7 more days, and emails it unless `email=false`; the old link stops working. Needs `members.invite`.