Download account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with properpermissions.. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted.
HTTP request
GET https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/accounts:batchGet
IftenantIdis specified, the ID of the Google Cloud project that the Identity Platform tenant belongs to. Otherwise, the ID of the Google Cloud project that the accounts belong to.
Authorization requires the followingIAMpermission on the specified resourcetargetProjectId:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis endpoint facilitates downloading account information for all accounts within a project in a paginated format, requiring Google OAuth 2.0 credentials with appropriate permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e request to a specific URL that utilizes gRPC Transcoding syntax, incorporating a \u003ccode\u003etargetProjectId\u003c/code\u003e path parameter to identify the relevant Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003enextPageToken\u003c/code\u003e, \u003ccode\u003emaxResults\u003c/code\u003e, and \u003ccode\u003etenantId\u003c/code\u003e allow for pagination and filtering, while the \u003ccode\u003edelegatedProjectNumber\u003c/code\u003e parameter is deprecated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this endpoint is empty, and a successful response will contain an instance of the \u003ccode\u003eDownloadAccountResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this endpoint requires one of the following OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/identitytoolkit\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/firebase\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.accounts.batchGet\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDownload account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted.\n\n### HTTP request\n\n`GET https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/accounts:batchGet`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [DownloadAccountResponse](/identity-platform/docs/reference/rest/v1/DownloadAccountResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/identitytoolkit`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]