Skip to main content
POST
/
orgs
/
{org_id}
/
domains
Create Domain
curl --request POST \
  --url https://api.example.com/orgs/{org_id}/domains \
  --header 'Content-Type: application/json' \
  --data '
{
  "hostname": "<string>"
}
'
{
  "id": "<string>",
  "hostname": "<string>",
  "org_id": "<string>",
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25"
}

Path Parameters

org_id
string
required

The ID of the org

Body

Schema for creating a new domain

hostname
string
required

The domain string (e.g., example.com)

Required string length: 1 - 1024

Response

200 - application/json

Detailed information about an org domain

id
string
required

Unique identifier for the domain

hostname
string
required

The hostname string (e.g., example.com)

org_id
string
required

Identifier of the org that owns this domain

created_at
string<date> | null
required

Timestamp when the domain was created

updated_at
string<date> | null
required

Timestamp when the domain was last updated