Upload a new image

post/images

Request

  • Base URL
    https://app.visoid.com/api/v1
  • Auth
    none declared

Request body

imagestring required

Base64 of the image.

Height and width of the image should be minimum 50px

Images above 67,108,864 total pixels (8192×8192) are rejected, and images larger than 4096px on either side are downscaled to fit.

This is limited by AWS Lambdas: the full request size is limited to 6MB.

namestring
projectIdstring uuid

Optional project ID to associate the image with. If not provided, the image is added to the project this connection is pointed at, or to the most recently updated project when it is pointed at none.

Example request

{
  "image": "data:image/png;base64,iVBORw...."
}

Response

Successfully uploaded

idstring uuid
webUrlstring

Direct link to view the uploaded image in the app, in the project it was added to.

Changes

No recorded changes to this operation across all 1 revision of this API.