GetFilePreSignedUrlPublicV1Request
Request to get a link for uploading a file
fileNamestringrequired
File name
mediaTypeMediaType (string)required
File type
Possible values: [RAW, IMAGE, AUDIO, VIDEO, PDF, DOC, XLS, PPT]
Example:
IMAGEworkspaceIdstringrequired
Workspace ID
accessChatIdstringnullable
ID of the chat in which the file will be accessible
GetFilePreSignedUrlPublicV1Request
{
"fileName": "file.txt",
"mediaType": "RAW",
"workspaceId": "w67Y89gu",
"accessChatId": "c56Y0kgi"
}