Upload an Image for Your Item

To display an image for your item, you’ll need to upload it to https:://static.wax.io. To upload your image, you can use the IItemSubmission/upload endpoint.

URLs

Environment URL
Production https://api-icm.wax.io/api/IItemSubmission/upload-image

Body Parameters

The IItemSubmission/upload-image endpoint uses form-data parameters.

Parameter Example Description
image_file_to_upload /path/to/image.png Required image. Your local path to the image you’d like to upload.
image_name my-image Optional string. Image name.

Request Example

curl -X POST \
  'https://api-icm.wax.io/api/IItemSubmission/upload-image?api_token=YOUR_API_KEY' \
  -F [email protected]/path/to/your/image.png


Response

{
  "success": true,
  "message": "Your image was successfully uploaded.",
  "image_url": "https://static.wax.io/d-img/dynamic-apps/img/phpysg6fk-4f15e78158.png"
}
Note: You'll need the image_url value to create your Item in the next step.

Your image should now be uploaded to WAX.