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

# Connect Landing Page Domain

> Connect a custom domain for landing pages

Connect a custom domain for published landing pages. After connecting, add the
returned CNAME record in DNS and verify the domain.

## Request

<ParamField body="domain" type="string" required>
  Custom landing page domain, for example `pages.example.com`.
</ParamField>

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/landing-pages/domain" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain": "pages.example.com"}'
```

## Responses

<ResponseExample>
  ```json 200 theme={null}
  {
    "success": true,
    "domain": {
      "domain": "pages.example.com",
      "domainStatus": "pending",
      "verifiedAt": null,
      "dnsRecordAddedAt": null,
      "sslStatus": null,
      "error": null,
      "verificationRecords": [],
      "lastCheckedAt": "2026-05-01T10:30:00Z",
      "cnameTarget": "pages.sequenzydns.com"
    },
    "message": "Landing page domain connected. Add a CNAME record pointing to pages.sequenzydns.com, then verify the domain."
  }
  ```

  ```json 400 theme={null}
  {
    "success": false,
    "error": "Enter a valid domain like pages.acme.com."
  }
  ```

  ```json 401 theme={null}
  {
    "success": false,
    "error": "Unauthorized"
  }
  ```

  ```json 409 theme={null}
  {
    "success": false,
    "error": "This landing page domain is already connected."
  }
  ```
</ResponseExample>
