POST
/
v1
/
domains
/
purchase
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/domains/purchase \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain_name": "<string>",
  "domain_tld_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "domain_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "data": {
    "id": "<string>",
    "domain": "<string>",
    "domain_plan_id": "<string>",
    "domain_account_tld_id": "<string>",
    "domain_proxy_id": "<string>",
    "cost": "<string>",
    "checked_availability_at": "<string>",
    "registered_at": "<string>",
    "configured_at": "<string>",
    "total_sms_sent": "<string>",
    "used_at": "<string>",
    "status": "<string>",
    "https_support": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "is_active": false
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

DomainData

The response is of type object.