---
title: "Get Emailpreview Test Info"
method: GET
path: "/v1/preview/tests/{test_id}"
tags: ["Email Preview"]
deprecated: true
---

# Get Emailpreview Test Info

`GET /v1/preview/tests/{test_id}`

## Request

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

> **Deprecated.**

Returns test info.<br><br>**WARNING:** _This endpoint is deprecated in favor of our [V2 endpoint](https://documentation.mailgun.com/docs/inspect/api-reference/openapi-final/tag/Email-Preview/#tag/Email-Preview/operation/GET-v2-preview-tests--test-id-)._

## Path parameters

- `test_id` string, required

## Response `200`

A 200 response

- GithubComMailgunEmailpreviewClientsPreviewGetTestInfoResponse
  - `subject` string, required
  - `date` integer, required
  - `completed` string[]
  - `processing` string[]
  - `bounced` string[]
  - `content_checking` GithubComMailgunEmailpreviewClientsPreviewContentCheckingResult
    - `link_validation` GithubComMailgunEmailpreviewClientsInspectInspectDtoRepsponse
      - `items` GithubComMailgunEmailpreviewClientsInspectItem
        - `id` string
        - `links` GithubComMailgunEmailpreviewClientsInspectLinks
          - `self` string
      - `errors` GithubComMailgunEmailpreviewClientsInspectErrorDetail[]
        - `status` string
        - `title` string
        - `detail` string
    - `image_validation` GithubComMailgunEmailpreviewClientsInspectInspectDtoRepsponse
      - `items` GithubComMailgunEmailpreviewClientsInspectItem
        - `id` string
        - `links` GithubComMailgunEmailpreviewClientsInspectLinks
          - `self` string
      - `errors` GithubComMailgunEmailpreviewClientsInspectErrorDetail[]
        - `status` string
        - `title` string
        - `detail` string
    - `accessibility` GithubComMailgunEmailpreviewClientsInspectInspectDtoRepsponse
      - `items` GithubComMailgunEmailpreviewClientsInspectItem
        - `id` string
        - `links` GithubComMailgunEmailpreviewClientsInspectLinks
          - `self` string
      - `errors` GithubComMailgunEmailpreviewClientsInspectErrorDetail[]
        - `status` string
        - `title` string
        - `detail` string
    - `code_analysis` GithubComMailgunEmailpreviewClientsInspectCodeAnalysisResponse
      - `meta` object, nullable
      - `items` GithubComMailgunEmailpreviewClientsInspectCodeAnalysisItem, required
        - `id` string, required
        - `links` GithubComMailgunEmailpreviewClientsInspectLinks, required
          - `self` string

## Other responses

- `400`: A 400 response
- `401`: A 401 response
- `500`: A 500 response
- `default`: A default 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)
