GET
/
v1
/
images
/
{imageId}
/
download

Description

This endpoint allows you to download an image by its unique identifier. The image is returned as a binary response.

This request is authenticated, so it is not recommended to share this URL with others. Use this endpoint to download images in your application or service, and serve them to your users, or use the publish endpoint to generate a public link to share the image with others.

Path Parameters

imageId
string
required

The unique identifier of the image. This identifier is used to reference the image in subsequent requests.

Response

The API will return the image as a binary response. You can identify the format of the image by checking the Content-Type header in the response, or by converting the binary data to an image file and checking the mime type.

Response Headers

content-type
image/png | image/jpeg | image/webp

The content type of the image. The content type can be one of the following: image/png, image/jpeg, image/webp.

Response Content

response
binary

The image in binary format.