# Get Email Receiving Config

GET /api/v2/projects/{projectId}/domains/{domainId}/receiving-config

Returns inbound capability state, the MX records to add, and receiving status.

## Request

- projectId: string, path, required — ID of the project that owns the domain.
- domainId: string, path, required — ID of the domain.

## Response

- 200: Successful response
  - capabilityEnabled: boolean, required
  - records: object[], required
    - name: string, required
    - ttl: string, required
    - type: string, required
    - value: string, required
    - priority: number
    - record: string
    - status: string
  - status: INACTIVE | PENDING | ACTIVE | ERROR, required
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
