---
title: "Get domain restrictions"
method: GET
path: "/resources/configurations/restrictions/v1/email-domain/config"
tags: ["Domain restrictions"]
---

# Get domain restrictions

`GET /resources/configurations/restrictions/v1/email-domain/config`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/configurations/restrictions/v1/email-domain/config`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/configurations/restrictions/v1/email-domain/config/get.ts> (a function with typed inputs; its response is checked against the schema)

This route gets the domain restrictions for a tenant.

## Response `200`

- DomainRestrictionsConfigResponse
  - `active` boolean, required
  - `listType` 'ALLOW' | 'BLOCK', required
  - `blockPublicDomains` boolean, required

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
