Files
List of public endpoints for managing files on Seliom
Seliom provides you with a file repository to store all files in your organization. You can upload files to your repository with our public API.
Dont forget to include the Authorization and X-Organization headers in every request. They have been omitted from these endpoints for brevity.
Upload File
POST
https://api.seliom.com/upload
This endpoint uploads a file to your organization's repository and returns its File ID.
Request Body
Name | Type | Description |
---|---|---|
name | string | Name of the file you are uploading. |
file | object | File object with the keys data and type. Currently only the type Buffer is supported. Therefore, data should be a byte buffer. |
Last updated