---
title: "Get domain"
method: GET
path: "/v1beta/spam-expert/domains/{domain_name}"
tags: ["SEDomain"]
---

# Get domain

`GET /v1beta/spam-expert/domains/{domain_name}`

## Path parameters

- `domain_name` string, required

## Query parameters

- `with_records` boolean
- `bundle` boolean

## Response `200`

A successful response.

- SeDomainGetDomainResponse
  - `code` integer
  - `data` SeDomainDomain
    - `bundle` boolean
    - `domain_name` string
    - `expiration_date` string
    - `id` integer
    - `is_active` boolean
    - `order_id` integer
    - `products` SeDomainProducts
      - `archiving` boolean
      - `incoming` boolean
      - `outgoing` boolean
    - `records` SeDomainRecords
      - `aliases` string[]
      - `destinations` SeDomainDestination[]
        - `hostname` string
        - `port` integer
      - `outgoing_user_ips` string[]
    - `reseller_id` integer
    - `smtp_password` string
    - `user_email` string
    - `user_password` string
    - `with_outgoing_filter` boolean
  - `desc` string
  - `maintenance` boolean
  - `warnings` ErrorWarning[]
    - `code` integer
    - `data` string
    - `desc` string

## Other responses

- `default` — (empty)

---

[API](https://skmtc.net/openprovider/apis/rest-api.md) · [All operations](https://skmtc.net/openprovider/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openprovider/rest-api/versions/55b7a0062507/schema)
