# Enhance API

# Enhancement

Enhance API returns urls of Oda enhanced images.

curl https://image.odaportal.com/api/v1/enhance-listing-image \
    -H "Content-Type: application/json" 
    -H "Authorization: Bearer ODA_STUDIO_AUTHENTICATION_TOKEN" 
    -d '{"url":URL_OF_YOUR_IMAGE, "listing_id": IDENTIFIER }'

ODA_STUDIO_AUTHENTICATION_TOKEN → API TOKEN that Oda will provide.

URL_OF_YOUR_IMAGE → URL of the image on your hosted server (e.g. AWS S3 url).

IDENTIFIER -> Unique identifier for the image sent by the client.

Returns:

{
    "enhanced_urls": "URL(S)_OF_EDITED_FILE(S)",
    "edited_foldername": "URL_OF_S3_FOLDER_WITH_EDITED_FILES",
    "urls_with_errors": "URLS_OF_IMAGES_RAISING_ERRORS",   
}