pagebridge list-sites

Lists all Google Search Console properties accessible to the configured service account.

Usage

pagebridge list-sites [options]
bash

Options

FlagTypeDescription
--jsonbooleanOutput as JSON ({ "sites": [...] }) for scripting and piping

Output

Returns a list of site URLs (e.g., sc-domain:example.com or https://example.com/). These are the values you pass to --site when running sync.

Examples

# List all accessible sites
pagebridge list-sites

# JSON output for scripting
pagebridge list-sites --json
bash

No sites listed?

If no sites appear, the service account does not have access to any GSC properties. To fix this:

  1. Open Google Search Console
  2. Navigate to your property settings
  3. Click Users and permissions
  4. Add the service account email (e.g., pagebridge-sync@my-project.iam.gserviceaccount.com)
  5. Set permission to Full

See Google Service Account setup for full details.