AppDomain

The `AppDomain` entity.

Definition

TypeScript
interface AppDomain {
  id: string;
  appId: string;
  hostname: string;
  status: "pending" | "active" | "failed";
  lastError: string | null;
  createdBy: string;
  createdAt: string;
  updatedAt: string;
}

Fields

FieldTypeNotes
idstringreadonly required
appIdstringrequired — App this custom domain points at.
hostnamestringrequired — Fully-qualified hostname bound to the app (e.g. 'shop.acme.com').
status"pending" | "active" | "failed"required — 'pending' during verification, 'active' once SSL is live, 'failed' on error.
lastErrorstring | nullrequired — Most recent verification or provisioning error, if any.
createdBystringrequired — User who added the domain.
createdAtstringreadonly required — ISO-8601 timestamp of creation.
updatedAtstringreadonly required — ISO-8601 timestamp of the last update.