> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# createCustomDomain

> Register a custom domain for this Network and start DNS verification and SSL certificate issuance

**Required scope:** `host:write:network_integrations`



**mutation** `createCustomDomain(input: CreateCustomDomainInput!): CreateCustomDomainPayload`

## Arguments

**`input`**: `CreateCustomDomainInput!` (required)

Parameters for CreateCustomDomain

## Returns

`CreateCustomDomainPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`customDomain`**: `CustomDomain`

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation CreateCustomDomain($input: CreateCustomDomainInput!) {
  createCustomDomain(input: $input) {
    clientMutationId
    customDomain {
      createdAt
      domain
      id
      resourceId
      status
      updatedAt
    }
    errors
  }
}
```

```json Variables
{
  "input": {
    "domain": "string"
  }
}
```

```json Response
{
  "data": {
    "createCustomDomain": {
      "clientMutationId": "string",
      "customDomain": {
        "createdAt": "value",
        "domain": "string",
        "id": "id",
        "resourceId": "id",
        "status": "ACTIVE",
        "updatedAt": "value"
      },
      "errors": [
        "string"
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.