Upload file through SCAPI server to REMOTE_FILE_MANAGER bucket. Files are automatically deleted after 1 day.
Security
apiKey
- Mock serverhttps://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/remote-file/
- https://develop-api.esper.cloud/apihttps://develop-api.esper.cloud/api/v0/enterprise/{enterprise_id}/content/remote-file/
curl -i -X POST \
'https://develop-api.esper.io/_mock/openapi/v0/enterprise/{enterprise_id}/content/remote-file/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: multipart/form-data' \
-F file=string \
-F filename=string \
-F content_type=stringFile uploaded successfully
Pre-signed URL for downloading the file
Example:"https://s3.amazonaws.com/REMOTE_FILE_MANAGER/123/files/document_abc123.pdf?AWSAccessKeyId=..."
Response
{ "file_key": "123/files/document_abc123.pdf", "bucket": "REMOTE_FILE_MANAGER", "file_size": 1048576, "content_type": "application/pdf", "auto_delete_after_minutes": 1440, "download_url": "https://s3.amazonaws.com/REMOTE_FILE_MANAGER/123/files/document_abc123.pdf?AWSAccessKeyId=...", "download_expires_in": 3600 }