Documentation
Get Image

Get Image

Retrieve details of a specific image by its ID.

ℹ️

You will need to authenticate to use this API. See authentication.

Request

GET https://api.ojo.so/v1/image/:imageId

Path Parameters

ParameterTypeDescription
imageIdstringThe unique identifier of the image
curl --request GET \
  --url https://api.ojo.so/v1/image/<Replace with image ID> \
  --header 'Authorization: Bearer <API Key>'

Response

Successfully retrieved the image details.

{
  "id": "image-id-1",
  "imageUrl": "https://example.com/path/to/image1.png",
  "createdAt": "2023-08-29T12:34:56Z"
}