---
title: "Create a domain"
method: POST
path: "/v3/projects/{projectId}/services/{serviceId}/domains/{domainName}"
tags: ["Domains"]
---

# Create a domain

`POST /v3/projects/{projectId}/services/{serviceId}/domains/{domainName}`

## Request

- Base URL: `https://fax.api.sinch.com`
- URL: `https://fax.api.sinch.com/v3/projects/{projectId}/services/{serviceId}/domains/{domainName}`
- Auth: one of:
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.sinch.com/oauth2/token`

Creates a new domain on the specified service to host email templates.

## Path parameters

- `serviceId` string, required
- `domainName` string, required

## Response `201`

The created domain.

- CreateDomainResponse
  - `result` string: The result of the create domain operation.
  - `records` object
    - `receivingRecords` ReceivingRecords[]: The receiving records of the domain.
      - `isActive` boolean: True if the domain is active.
      - `cached` string[]: Any cached value of the record.
      - `priority` integer: The priority for the record.
      - `recordType` string: The type of the record.
      - `valid` 'valid' | 'invalid': The validity of the record.
      - `value` string: The value of the record.
    - `sendingRecords` SendingRecords[]: The sending records of the domain.
      - `isActive` boolean: True if the domain is active.
      - `cached` string[]: Any cached value of the record.
      - `name` string: The name of the domain record.
      - `recordType` string: The type of the record.
      - `valid` 'valid' | 'invalid': The validity of the record.
      - `value` string: The value of the record.

## Changes

- **2026-10-01** `7f5e54fa9f05`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sinch/apis/fax-api/changes/v3/projects/:projectId/services/:serviceId/domains/:domainName/post.md)

---

[API](https://skmtc.dev/sinch/apis/fax-api.md) - [All operations](https://skmtc.dev/sinch/apis/fax-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sinch/apis/fax-api/revisions/d3054d7412d5?raw)
