---
title: "Check a workspace resolves before connecting"
method: POST
path: "/app-listings/preflight/"
tags: ["app-listings"]
---

# Check a workspace resolves before connecting

`POST /app-listings/preflight/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/app-listings/preflight/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Confirm a customer's hand-typed workspace/tenant resolves before redirecting to the vendor login. Returns found, not_found, or unreachable.

## Request body

- AppListingPreflightRequestSchema: Request to check whether a customer's hand-typed workspace resolves before the redirect.
  - `inputs` object: Connect-time inputs to resolve-check, keyed by input name.
  - `slug` string, required

## Response `200`

Successful Response

- AppListingPreflightResponseSchema: The pre-flight resolve-check outcome.
  - `status` 'found' | 'not_found' | 'unreachable', required: Outcome of the pre-flight resolve check for a hand-typed tenant workspace.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: App listing not found
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
