The newest version of Google Identity Toolkit has been released as Google Cloud's Identity Platform and Firebase Authentication. These products include upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

Based on your needs, new projects should use either Identity Platform or Firebase Authentication. To migrate an existing project from Identity Toolkit, see the Identity Platform migration guide or Firebase Authentication migration guide.

Relyingparty: getAccountInfo

Returns the account info.


HTTP request


Request body

In the request body, supply data with the following structure:

  "idToken": string,
  "localId": [
  "email": [
Property name Value Description Notes
idToken string The GITKit token of the authenticated user.
localId[] list The list of local ID's of the users to inquiry.
email[] list The list of emails of the users to inquiry.


If successful, this method returns a response body with the following structure:

  "kind": "identitytoolkit#GetAccountInfoResponse",
  "users": [
      "localId": string,
      "email": string,
      "emailVerified": boolean,
      "displayName": string,
      "providerUserInfo": [
          "providerId": string,
          "displayName": string,
          "photoUrl": string,
          "federatedId": string
      "photoUrl": string,
      "passwordHash": bytes,
      "salt": bytes,
      "version": integer,
      "passwordUpdatedAt": double
      "validSince": string
Property name Value Description Notes
kind string The fixed string "identitytoolkit#GetAccountInfoResponse".
users[] list The info of the users.
users[].localId string The local ID of the user.
users[].email string The email of the user.
users[].displayName string The name of the user.
users[].photoUrl string The URL of the user profile photo.
users[].salt bytes The user's password salt.
users[].version integer Version of the user's password.
users[].passwordUpdatedAt double The timestamp when the password was last updated.
users[].validSince string The timestamp, in seconds, which marks a boundary, before which Firebase ID token are considered revoked.
users[].providerUserInfo[] list The IDP of the user.
users[].providerUserInfo[].providerId string The IdP ID. For white listed IdPs it's a short domain name, e.g.,,, and For other OpenID IdPs it's the OP identifier.
users[].providerUserInfo[].displayName string The user's display name at the IDP.
users[].providerUserInfo[].photoUrl string The user's photo url at the IDP.
users[].emailVerified boolean Whether the email has been verified.
users[].providerUserInfo[].federatedId string User's identifier at IDP.
users[].passwordHash bytes The user's hashed password.