---
title: "Look up Cognito pool config by email domain"
method: GET
path: "/api/v1/auth/pool-config"
tags: ["AuthPoolConfig"]
---

# Look up Cognito pool config by email domain

`GET /api/v1/auth/pool-config`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api/v1/auth/pool-config`
- Auth: HTTP bearer

Returns pool configuration for the given email domain. Always returns 200 OK — unknown domains receive a valid pool to prevent domain enumeration. Pass app=dev-portal to receive the developer portal app client ID instead of the default.

## Query parameters

- `domain` string, required
- `poolType` string
- `app` string

## Response `200`

OK

- PoolConfigResponseDTO
  - `pools` PoolConfigDTO[]
    - `displayName` string
    - `region` string
    - `userPoolId` string
    - `clientId` string
    - `hostedUiDomain` string
    - `totpIssuer` string

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
