LogoFreestyle
API Reference/Domains

List domains for an account

This lists the domains that an account has verified ownership of. This includes the *.style.dev domains the account has claimed.

GET/domains/v1/domains

Response Body

200

List of domains

responseRequiredarray<object>

400

Failed to get domains

messageRequiredstring
curl -X GET "https://api.freestyle.sh/domains/v1/domains"

List of domains

[
  {
    "domain": "example.yourdomain.com",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]