Workspace
Create file
Create a new file.
post/orgs/files
Request
- Base URL: https://api.useinvent.com
- URL: https://api.useinvent.com/orgs/files
- Auth: HTTP bearer
Request body
Example request
{
"file": {
"data": "SGVsbG8sIHdvcmxkIQ==",
"type": "application/pdf",
"name": "document.pdf",
"encoding": "base64"
},
"file_url": "https://example.com/files/document.pdf",
"visibility": "PRIVATE"
}Response
Example response
{
"file_filename": "document.pdf",
"file_size": 1024,
"file_mimetype": "application/pdf"
}Changes
No recorded changes to this operation across all 1 revision of this API.