---
title: "GET /v1beta/projects/{projectsId}/alerts/{alertsId}:getPassword"
method: GET
path: "/v1beta/projects/{projectsId}/alerts/{alertsId}:getPassword"
tags: ["projects"]
---

# GET /v1beta/projects/{projectsId}/alerts/{alertsId}:getPassword

`GET /v1beta/projects/{projectsId}/alerts/{alertsId}:getPassword`

## Request

- Base URL: `https://threatintelligence.googleapis.com`
- URL: `https://threatintelligence.googleapis.com/v1beta/projects/{projectsId}/alerts/{alertsId}:getPassword`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Get the decrypted password of an alert.

## Path parameters

- `projectsId` string, required
- `alertsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- GetPasswordResponse: Response message for GetPassword.
  - `password` string: The decrypted cleartext password for the compromised credential.

---

[API](https://skmtc.dev/google/apis/threatintelligence.md) - [All operations](https://skmtc.dev/google/apis/threatintelligence/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/threatintelligence/revisions/409ae060bc26?raw)
