Create file
Create a new file record and receive a presigned URL for uploading content to S3.
Authorizations
An Account API key, account-scoped JWT, App API key, or user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************.
Body
Response
A successful response
A file that has been uploaded or is pending upload.
The MIME type of the uploaded file (e.g., image/jpeg, video/mp4, audio/mpeg).
"image/jpeg"
The original filename of the uploaded file, including its file extension.
"document.pdf"
The unique identifier for the file.
"file_xxxxxxxxxxxxx"
The file size in bytes. Null if the file has not finished uploading.
"123.45"
Headers to include in the upload request. Only present in the response from the create mutation.
The current upload status of the file (e.g., pending, ready).
pending, processing, ready, failed The presigned URL to upload the file contents to. Only present in the response from the create mutation.
"https://media.whop.com/uploads/presigned"
The URL for accessing the file. For public files, this is a permanent CDN URL. For private files, this is a signed URL that expires. Null if the file has not finished uploading.
Whether the file is publicly accessible or requires authentication.
public, private 
