Skip to content

Subdomains

A SubdomainAvailabilityCheck is used to check whether a Dash subdomain is in use or not.

Check subdomain availability

Request

This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header

Bodyapplication/jsonrequired
subdomainstring

The subdomain to check for availability

Example:"my-company"
curl -i -X POST \
  https://api-v2.dash.app/subdomain-availability-check \
  -H 'Content-Type: application/json' \
  -d '{
    "subdomain": "my-company"
  }'

Responses

Success

Bodyapplication/json
subdomainstring

The subdomain that was checked for availability

Example:"my-company"
isAvailableboolean
Example:true
Response
{ "subdomain": "my-company", "isAvailable": true }