cloadyDocs
API ReferenceEndpointsWorkspaces

List the hosts on a domain

Every address on the domain the workspace has added, with the app it serves and the state of its TLS certificate. An app's own address always has TLS.

GET
/api/workspaces/{workspaceSlug}/domains/{domain}/hosts
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
domain*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/domains/string/hosts"
{  "hosts": [    {      "host": "string",      "app": {        "slug": "string",        "env": "production",        "region": "string"      },      "tls": "ready"    }  ]}