---
title: "Create an Image Validation Test"
method: POST
path: "/v1/inspect/images"
tags: ["Image Validation"]
---

# Create an Image Validation Test

`POST /v1/inspect/images`

## Request

- Base URL: `https://api.mailgun.net`
- URL: `https://api.mailgun.net/v1/inspect/images`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/mailgun/apis/email-preview-api/docs/v1/inspect/images/post.ts> (a function with typed inputs; its response is checked against the schema)

Create an image validation test.

## Request body

- GithubComMailgunInspectInternalImagevalidationImageValidationLinkRequest
  - `links` string[]

## Response `200`

A 200 response

- GithubComMailgunInspectInternalImagevalidationCreateImageValidationJSONAPIResponse
  - `meta` object, nullable
  - `items` GithubComMailgunInspectInternalImagevalidationCreateResource
    - `id` string, required
    - `links` GithubComMailgunInspectInternalImagevalidationSelfLink
      - `self` string, required

## Other responses

- `400`: A 400 response
- `401`: A 401 response

---

[API](https://skmtc.dev/mailgun/apis/email-preview-api.md) - [All operations](https://skmtc.dev/mailgun/apis/email-preview-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailgun/apis/email-preview-api/revisions/c8a18f02bc8b?raw)
