---
title: "Add custom domain"
method: POST
path: "/v2/account/custom-domain"
tags: ["v2"]
---

# Add custom domain

`POST /v2/account/custom-domain`

Use this method to configure a custom CDN domain for an account alias.

## Request body

- Model21
  - `alias` string, required
  - `domain` string, required

## Response `default`

Successful

---

[API](https://skmtc.dev/sirv/apis/api-documentation.md) · [All operations](https://skmtc.dev/sirv/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sirv/api-documentation/revisions/80ff016d7d3a/schema)
