---
title: "List Search Console sites for a pending connect"
method: GET
path: "/v1/connect/googlesearchconsole/sites"
tags: ["Connect"]
---

# List Search Console sites for a pending connect

`GET /v1/connect/googlesearchconsole/sites`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/connect/googlesearchconsole/sites`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Connect-Token`

For headless flows: lists the verified Search Console sites of a pending connect, so you can show your own picker.

### Flow

1. The connect started with `redirect_url=...?headless=true`, and the Google account has several verified sites.
2. Zernio redirects to your `redirect_url` with `step=select_site`, `profileId`, `platform=googlesearchconsole` and a `pendingDataToken`.
3. Call this to list the sites and show your own picker.
4. Call `POST /v1/connect/googlesearchconsole/select-site`.

### Token

- Listing does not consume the token.
- A headless token passes through your own URLs, so it is honored only together with your API key (or connect token) for the same profile.
- It expires after one hour.

## Query parameters

- `pendingDataToken` string, required

## Response `200`

Sites the Google account can read

- object
  - `sites` object[]
    - `siteUrl` string: `sc-domain:` plus the domain for a Domain property, the full URL prefix otherwise.
    - `permissionLevel` 'siteOwner' | 'siteFullUser' | 'siteRestrictedUser'

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `403`: The connect token was issued for a different profile or platform (INSUFFICIENT_PERMISSIONS).
- `404`: The pending sign-in expired or was already used. Start the connect again.

## Changes

- **2026-11-18** `d79b66285ac5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/connect/googlesearchconsole/sites/get.md)

---

[API](https://skmtc.dev/zernio/apis/zernio-api.md) - [All operations](https://skmtc.dev/zernio/apis/zernio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zernio/apis/zernio-api/revisions/518557544cb4?raw)
