Upload an image file

POST
https://reloop.sh/api/upload/v1/upload
const response = await fetch("https://reloop.sh/api/upload/v1/upload", {
  method: "POST",
  headers: {
    "Authorization": "Bearer re_123456789",
  },
});

const data = await response.json();
{
  "id": "con_123456789",
  "filename": "example_filename",
  "originalName": "example_originalName",
  "mimeType": "example_mimeType",
  "size": 0,
  "path": "example_path",
  "url": "example_url",
  "userId": "example_userId",
  "createdAt": "2026-03-23T10:00:00.000Z",
  "updatedAt": "2026-03-23T10:00:00.000Z"
}

Was this page helpful?

Edit this page