API referenceV1
Confirm an upload: flips pending to confirmed and notifies the session
AuthorizationBearer <token>
A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.
In: header
Path Parameters
sid*string
fileId*string
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sessions/string/uploads/string/confirm"{ "ok": true}