Skip to main content
POST
/
members
/
domains
Add a Members domain
curl --request POST \
  --url https://api.example.com/members/domains \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>"
}
'
{
  "status": "Pending",
  "domain": "<string>",
  "txtRecord": "<string>"
}

Body

application/json
domain
string
required

The domain to be used to recognize Members

Response

The new Domain record. This will contain the TXT record that needs to be added to the appropriate DNS zone to confirm ownership

status
enum<string>

The ownership verification status

Available options:
Pending,
Verified
domain
string<hostname>

The domain to accept members from

txtRecord
string

The DNS TXT record that needs to be added to confirm ownership