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/init" \ -H "Content-Type: application/json" \ -d '{ "parent_id": "string", "file_name": "string", "file_size": 1, "mime_type": "string" }'{ "session_id": "string"}