Skip to content

Image Validation

The Image Validation API processes image URLs or uploads to provide comprehensive details such as dimensions, type, file size, and format, reports frame count, animation duration, color depth, and transparency for GIFs, and include image optimization capabilities.

Get Image Validation Results

Request

Returns the results of an image validation test.

Security
basicAuth
Path
idstringrequired

The ID of the validation test we want to check the results for

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v1/inspect/images/{id}'

Responses

A 200 response

Bodyapplication/json
metaobject or null
itemsgithub.com-mailgun-inspect-internal-imagevalidation-ImageValidation (object) or null
Any of:
Response
{ "meta": { "status": "Completed" }, "items": { "id": "67a654ba0f53254b9fdca3e2", "images": [] } }