Skip to main content

File upload

Use this section to upload files you want to attach to your posts or projects — images, videos, documents, and more.

Uploading is fast and secure, so your files are always ready for publication or further work.

File Upload Process

You can upload files in one of two ways:

Option 1: Direct File Upload

  • Send a POST request to /upload/init with project_id, name, and size.
  • The server will respond with credentials and a URL for uploading your file directly to AWS S3.
  • Upload your file to S3 using the provided parameters.
  • Once the upload is complete, call /upload/complete to finalize the process.

Option 2: Upload by Link

  • Send a POST request to /upload/init with project_id and url.
  • The system will automatically fetch and upload the file from the provided link.
  • You do not need to call /upload/complete when using a link.

Processing Status

  • For either upload method, check the processing status of your file by sending a request to /upload/status with the id.