# Get Name servers to connect domain

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/domains/name-servers:
    post:
      summary: Get Name servers to connect domain
      deprecated: true
      description: >-
        # Get nameservers


        This endpoint lets you get nameservers.


        ## Endpoint


        ## Request Body


        | Name        | Type   | Description |

        |-------------|--------|-------------|

        | `domainName` | `string` | The name of the domain |

        | `maskForwarding` | `boolean` | Maskforwarding should be enabled or
        not. |
      tags:
        - domains
      parameters:
        - name: x-auth-zapmail
          in: header
          description: ''
          required: true
          example: '{{x-auth-zapmail}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                status: 200
                message: NS records for transfer fetched successfully
                data:
                  nameServers: braelyn.ns.cloudflare.com,jermaine.ns.cloudflare.com
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: domains
      x-apidog-status: deprecated
      x-run-in-apidog: https://app.apidog.com/web/project/797058/apis/api-13520972-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.zapmail.ai/api
    description: Prod Env
security: []

```
