---
title: "Retrieve validation results"
method: GET
path: "/assistedSales/v1/opportunities/{opportunityId}/validation"
tags: ["AppResellerOpportunities"]
---

# Retrieve validation results

`GET /assistedSales/v1/opportunities/{opportunityId}/validation`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/assistedSales/v1/opportunities/{opportunityId}/validation`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/assistedSales/v1/opportunities/:opportunityId/validation/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve the latest validation results for an opportunity

Required: Accept-Language header with Locale format. For example: en-US

## Path parameters

- `opportunityId` string, required

## Query parameters

- `enforce` boolean

## Response `200`

Validation results were retrieved successfully

- OpportunityValidation: Failed and in-progress (pending) opportunity validations
  - `blockingErrors` ValidationDetail[]: Failed validation errors and the associated items, when applicable
    - `itemId` string: Related Item ID, when the validation error is related to an item
    - `code` string: The error code, in screaming snake case. For example, PAYLOAD_VALIDATION_ERROR
    - `message` string: Validation detail message
    - `messageParameters` ValidationDetailParameter[]: Validation detail parameters
      - `key` string: Validation detail parameter key
      - `value` string: Validation detail parameter value
  - `pendingValidations` string[]: List of validations which are still being processed and whose result should be retrieved later

## Other responses

- `400`: Missing required parameter
- `401`: Unauthorized
- `403`: The user does not have access to the opportunity, or the user does not have permission to execute the action.
- `404`: Invalid opportunity ID
- `503`: Unable to retrieve validation results because the service is unavailable

## Changes

- **2026-11-06** `1fc240f06971`: 6 breaking, 22 info
  - the response's body type changed from no type to `object` for status `200`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - …24 more

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/assistedSales/v1/opportunities/:opportunityId/validation/get.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
