# List domains eligible to connect

> Source: /api-reference/partner/explorer/custom-domains/list-eligible
> The organizations, brands, and venues in reach that could own a custom domain but have not connected one yet. Use this to populate a connect-a-domain picker.
> Full spec: https://docs.journey.com/openapi/partner.v1.json

## `GET /v1/partner/custom-domains/eligible`

```json
{
  "description": "The organizations, brands, and venues in reach that could own a custom domain but have not connected one yet. Use this to populate a connect-a-domain picker.",
  "operationId": "customDomainsPartner_listEligible",
  "parameters": [
    {
      "in": "query",
      "name": "ownerEntityExternalId",
      "required": false,
      "schema": {
        "maxLength": 200,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "ownerEntityType",
      "required": true,
      "schema": {
        "enum": [
          "brand",
          "organization",
          "property"
        ],
        "type": "string"
      }
    }
  ],
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ListEligiblePartnerCustomDomainsResponse"
          }
        }
      },
      "description": "Owners eligible to connect a domain."
    },
    "400": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "Request validation failed. `errors` lists the offending fields."
    },
    "401": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "No usable credential. Send `Authorization: Bearer <jwt>` or `X-API-Key: jny_...`."
    },
    "403": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PartnerErrorResponse"
          }
        }
      },
      "description": "The credential authenticated but lacks the scopes in `x-required-scopes`, or the resource belongs to another organization."
    }
  },
  "security": [
    {
      "partnerBearer": []
    },
    {
      "partnerApiKey": []
    }
  ],
  "summary": "List domains eligible to connect",
  "tags": [
    "partner/custom-domains"
  ],
  "x-required-scopes": [
    [
      "partner:custom-domains:read"
    ]
  ]
}
```