# google-search-console.userinfo.get

Id and address of the Google account behind the connection

> Returns profile information for the specified user.

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

| Field | Value |
| --- | --- |
| provider | [Google Search Console](https://telipot.com/catalog/providers/google-search-console) `google-search-console` |
| capability | [`search-console.userinfo`](https://telipot.com/catalog/capabilities/search-console.userinfo) |
| kind | utility |
| 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 | `openid`, `email` |
| retention | standard |
| route | `GET https://openidconnect.googleapis.com/v1/userinfo` |
| verification | Not verified yet. Not checked yet. We test with a real request before we mark it. |
| status | live |
| docs | https://developers.google.com/identity/openid-connect/openid-connect#obtaininguserprofileinformation |

## Preview the price · nothing runs

```bash
telipot run google-search-console.userinfo.get \
  --input-json '{}' \
  --quote
```

## Run it

```bash
telipot run google-search-console.userinfo.get \
  --input-json '{}'
```

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

## Input schema

```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "sub"
  ],
  "properties": {
    "sub": {
      "type": "string",
      "description": "The Google account's id, which never changes while the address can"
    },
    "email": {
      "type": "string",
      "description": "The address of the Google account"
    },
    "email_verified": {
      "type": "boolean",
      "description": "True when Google has verified the address"
    },
    "picture": {
      "type": "string",
      "description": "The URL of the account's photo"
    }
  }
}
```

## Example response

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

```json
{
  "sub": "110000000000000000001",
  "email": "contact@example.com",
  "email_verified": true,
  "picture": "https://example.com/photo.jpg"
}
```
