---
title: "Get Domain Preview"
method: GET
path: "/api/app-auto-gtm/domain-preview"
tags: ["AppAutoGtm"]
---

# Get Domain Preview

`GET /api/app-auto-gtm/domain-preview`

Read-only preview for a domain before we create the project in our DB.

Backed by GtmProject + GtmSegment (the marketing funnel side). Lets the
onboarding wizard show "here's what we know about your company" before
the user commits.

404 with `{code: "gtm_project_not_found"}` when the funnel hasn't
generated anything for this domain — the client redirects to the funnel
itself (explee.com/auto-gtm/company/{domain}/explore) so the user
generates segments and comes back.

## Query parameters

- `domain` string, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- DomainPreviewResponse
  - `company` DomainPreviewCompany, required
    - `name` string, required
    - `domain` string, required
    - `description` string, required
    - `industry` string, nullable
    - `geo_city` string, nullable
    - `geo_country` string, nullable
    - `logo_url` string, nullable
    - `size_on_linkedin` integer, nullable
  - `segments` DomainPreviewSegment[], required
    - `gtm_id` string, required
    - `name` string, required
    - `pain` string, required
    - `people_count` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/aec0744a2cd1/schema)
