# google-search-console.sites.get

Permission level on one site by its URL

> Retrieves information about specific site.

Page: https://telipot.com/catalog/tasks/google-search-console.sites.get · Markdown: https://telipot.com/catalog/tasks/google-search-console.sites.get/md · JSON: https://telipot.com/catalog/tasks/google-search-console.sites.get/json

| Field | Value |
| --- | --- |
| provider | [Google Search Console](https://telipot.com/catalog/providers/google-search-console) `google-search-console` |
| capability | [`search-console.sites.get`](https://telipot.com/catalog/capabilities/search-console.sites.get) |
| kind | data |
| tier | core |
| price | Free (Free from the tool) |
| identity | Company account |
| auth | `oauth · OAuth 2.0 with PKCE` |
| scope | own_account |
| principal | organization |
| required_scopes | `webmasters.readonly` |
| retention | standard |
| route | `GET https://searchconsole.googleapis.com/webmasters/v3/sites/{siteUrl}` |
| verification | Not verified yet. Not checked yet. We test with a real request before we mark it. |
| status | live |
| docs | https://developers.google.com/webmaster-tools/v1/sites/get |

## Preview the price · nothing runs

```bash
telipot run google-search-console.sites.get \
  --input-json '{"siteUrl":"sc-domain:example.com"}' \
  --quote
```

## Run it

```bash
telipot run google-search-console.sites.get \
  --input-json '{"siteUrl":"sc-domain:example.com"}'
```

```bash
curl https://api.telipot.com/v1/tasks/google-search-console.sites.get/run \
  -H "Authorization: Bearer $TELIPOT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"siteUrl":"sc-domain:example.com"}'
```

## Input

| Field | In | Type | Required | Constraints | Note |
| --- | --- | --- | --- | --- | --- |
| `siteUrl` | pathParams | string | yes |  | The property as sites.list returns it, a URL-prefix property with its trailing slash or a domain property written sc-domain:example.com |

## Input schema

```json
{
  "type": "object",
  "properties": {
    "siteUrl": {
      "type": "string",
      "description": "The property as sites.list returns it, a URL-prefix property with its trailing slash or a domain property written sc-domain:example.com",
      "examples": [
        "sc-domain:example.com"
      ]
    }
  },
  "required": [
    "siteUrl"
  ],
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "siteUrl",
    "permissionLevel"
  ],
  "properties": {
    "siteUrl": {
      "type": "string"
    },
    "permissionLevel": {
      "type": "string",
      "description": "siteOwner, siteFullUser, siteRestrictedUser or siteUnverifiedUser"
    }
  }
}
```

## Example response

From `examples/google-search-console.sites.get.json`.

```json
{
  "siteUrl": "sc-domain:example.com",
  "permissionLevel": "siteOwner"
}
```
