---
title: "Create Company Domain"
method: POST
path: "/setup/v1/companies/domains"
tags: ["Companies"]
---

# Create Company Domain

`POST /setup/v1/companies/domains`

Use this endpoint to **Create** an OnSchedJs domain for your authorized company. To share the OnSchedJS booking widget on your website or in your application you must add the domain.

## Request body

- CompanyDomainInputModel
  - `domain` string, nullable

## Response `200`

Success

- CompanyDomainViewModel
  - `object` string, nullable
  - `id` string, nullable
  - `domain` string, nullable

---

[API](https://skmtc.net/onsched/apis/onsched-setup-api.md) · [All operations](https://skmtc.net/onsched/apis/onsched-setup-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onsched/onsched-setup-api/revisions/c5c023458a2f/schema)
