POST /v1/uploads/sign
Request:
POST https://api.dropkit.app/v1/uploads/signAuthorization: Bearer pk_live_...Content-Type: application/json
{ "name": "photo.jpg", "size": 12345, "mime": "image/jpeg" }Response:
{ "fileId": "abc123...", "uploadUrl": "https://storage.dropkit.app/...", "uploadHeaders": { "content-type": "image/jpeg" }, "publicUrl": "https://cdn.dropkit.app/abc123...", "expiresAt": 1700000000000}Then PUT the file bytes directly to uploadUrl with the provided headers. Your bytes never pass through our API.