palbaseDocs

Palbase Machines · API

GET/domains

List the environment's own domains

Lists the domains the environment itself answers at besides its own address — the hosts it signs its people in at: each one's state, the records its owner adds to its DNS, what stands in its way, and whether the environment signs in there (sign_in) — and where its passkeys are bound (passkeys).

Called by your server, with the project's secret key.

curl
curl -X GET "https://<your-ref>.palbase.studio/domains" \
  -H "apikey: $PALBASE_SECRET_KEY"

Responses

200The domains

400Validation failed or a required field is missing

401Missing or invalid API key

403Not the project's secret key

429Over the project's request limit, or its machine time for this period is used up

503Temporarily unavailable; retrying is safe after Retry-After

defaultAn error: the envelope names it (`error`) and explains it (`error_description`).

Operation ListEnvironmentDomains of machines's contract.