{
  "url": "https://telipot.com/catalog/tasks/google-analytics.userinfo.get",
  "id": "google-analytics.userinfo.get",
  "name": "Id and address of the Google account behind the connection",
  "provider": {
    "slug": "google-analytics",
    "name": "Google Analytics 4"
  },
  "capability": "analytics.userinfo",
  "platform": "analytics",
  "kind": "utility",
  "tier": "core",
  "identity": "account",
  "identityLabel": "Company account",
  "price": {
    "amount": "Free",
    "state": "free",
    "label": "Free",
    "detail": "Free from the tool",
    "type": "free"
  },
  "providers": 1,
  "retention": "standard",
  "runsOn": "free",
  "live": true,
  "summary": "Returns profile information for the specified user.",
  "method": "GET",
  "path": "/v1/userinfo",
  "host": "https://openidconnect.googleapis.com",
  "docsUrl": "https://developers.google.com/identity/openid-connect/openid-connect#obtaininguserprofileinformation",
  "auth": {
    "scheme": "oauth",
    "label": "oauth · OAuth 2.0 with PKCE",
    "short": "oauth · OAuth 2.0"
  },
  "scope": "own_account",
  "principal": "organization",
  "requiredScopes": [
    "openid",
    "email"
  ],
  "verification": {
    "state": "none",
    "label": "Not verified yet",
    "detail": "Not checked yet. We test with a real request before we mark it."
  },
  "input": [],
  "sampleInput": {},
  "inputSchema": {
    "type": "object",
    "properties": {},
    "additionalProperties": false
  },
  "output": [
    {
      "name": "sub",
      "type": "string",
      "description": "The Google account's id, which never changes while the address can"
    },
    {
      "name": "email",
      "type": "string",
      "description": "The address of the Google account"
    },
    {
      "name": "email_verified",
      "type": "boolean",
      "description": "True when Google has verified the address"
    },
    {
      "name": "picture",
      "type": "string",
      "description": "The URL of the account's photo"
    }
  ],
  "outputSchema": {
    "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": {
    "file": "examples/google-analytics.userinfo.get.json",
    "json": {
      "sub": "110000000000000000001",
      "email": "contact@example.com",
      "email_verified": true,
      "picture": "https://example.com/photo.jpg"
    }
  },
  "commands": {
    "mode": "run",
    "cli": "telipot run google-analytics.userinfo.get \\\n  --input-json '{}'",
    "http": "curl https://api.telipot.com/v1/tasks/google-analytics.userinfo.get/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}'",
    "quote": "telipot run google-analytics.userinfo.get \\\n  --input-json '{}' \\\n  --quote"
  },
  "siblings": []
}
