Skip to main content

Get Image GET Endpoint

Our GET endpoint allows you to search for an image using a product's style code.

Route

/api/image/{style_code}
Authorization: Bearer {Your API Key}

Responses

You will receive one of the following responses:

  • 400 Input validation failed.
  • 200 Image not found.
  • 200 Results with image.

This endpoint does not accept any query parameters. You simply input the style code into the route to get the relevant image.

Please note that the response with a 200 status code indicating that the image was found will return the image as a binary data stream. This stream can be converted to an image in the frontend of your application.