PgBeam Docs
Projects

verifyCustomDomain

Verify custom domain DNS

Checks DNS TXT record to verify domain ownership. Updates domain status on success. Requires a Scale or Enterprise plan.

Usage

const result = await api.projects.verifyCustomDomain();

Parameters

None.

Response

Promise<VerifyCustomDomainResponse> — verification result.

Example

import { PgBeamClient } from "pgbeam";

const client = new PgBeamClient({
  token: "pbk_...",
  baseUrl: "https://api.pgbeam.com",
});

const result = await client.api.projects.verifyCustomDomain();

Errors

StatusDescription
400Invalid request parameters.
401Missing or invalid authentication.
403Custom domains require a Scale or Enterprise plan.
404Resource not found.
429Rate limited. Try again later.

On this page