---
title: "Discover Organizations For Email Domain"
method: GET
path: "/api/v1/organizations/domain-discovery"
tags: ["authed"]
---

# Discover Organizations For Email Domain

`GET /api/v1/organizations/domain-discovery`

## Request

- Base URL: `https://api.teaflask.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.teaflask.com/api/v1/organizations/domain-discovery`
- Auth: none declared

Which organizations already represent the caller's work email
domain — the create-organization step's request-to-join default reads
this (TEA-509). Authed but deliberately unscoped: the caller has no
organization yet. The domain derives from the verified token's email,
never a client parameter, so the only names disclosed are those a
verified mailbox on that domain already entitles the caller to see —
no enumeration surface. Soft: a personal email is an empty answer,
never an error.

## Response `200`

Successful Response

- EmailDomainDiscoveryResponse
  - `domain` string, nullable, required
  - `domain_is_dns_claimed` boolean, required
  - `creation_is_refused` boolean, required
  - `organizations` DiscoveredOrganizationResponse[], required
    - `organization_id` string, uuid, required
    - `name` string, required
    - `pending_request_at` string, date-time, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `422`: Validation error
- `500`: Internal server error

## Changes

- **2026-11-03** `c6ac9fd6657f`: 6 info
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `401`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `403`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `404`
  - removed the `STEEP_LEARNING_DISABLED` enum value from the `error/code` response property for the response status `405`
  - …2 more

[Operation history](https://skmtc.dev/teaflask/apis/teaflask-api/changes/api/v1/organizations/domain-discovery/get.md)

---

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