Initialize a new upload session
Initialize a file upload session. Verifies destination folder ACLs and returns a sealed passport token.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/files/uploadsession" \ -H "Content-Type: application/json" \ -d '{ "parent_id": "string", "file_name": "string", "file_size": 1 }'{ "session_id": "string"}{ "debuginfo": "string"}