Uploading media

To upload media to our data center, follow these steps:

  1. Retrieve a signed URL.
  2. PUT the file to that URL directly — this goes to storage, not to the Elai API.
  3. Trigger our API to confirm that a file has been uploaded successfully.

We accept images (jpg, png, svg), videos (mp4, ogg, mov, webm, wmv) and gifs.

🚧

We don't support JSON base64-encoded strings

File should be sent as request body with PUT method