The Google Identity Toolkit API lets you use open standards to verify a user's identity.
- REST Resource: v2
- REST Resource: v2.accounts
- REST Resource: v2.accounts.mfaEnrollment
- REST Resource: v2.accounts.mfaSignIn
- REST Resource: v2.defaultSupportedIdps
- REST Resource: v2.projects
- REST Resource: v2.projects.defaultSupportedIdpConfigs
- REST Resource: v2.projects.domain
- REST Resource: v2.projects.identityPlatform
- REST Resource: v2.projects.inboundSamlConfigs
- REST Resource: v2.projects.oauthIdpConfigs
- REST Resource: v2.projects.tenants
- REST Resource: v2.projects.tenants.defaultSupportedIdpConfigs
- REST Resource: v2.projects.tenants.domain
- REST Resource: v2.projects.tenants.inboundSamlConfigs
- REST Resource: v2.projects.tenants.oauthIdpConfigs
- REST Resource: v1
- REST Resource: v1.accounts
- REST Resource: v1.projects
- REST Resource: v1.projects.accounts
- REST Resource: v1.projects.tenants
- REST Resource: v1.projects.tenants.accounts
Service: identitytoolkit.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://identitytoolkit.googleapis.com
REST Resource: v2
| Methods | |
|---|---|
| getPasswordPolicy | GET /v2/passwordPolicyGets password policy config set on the project or tenant. | 
| getRecaptchaConfig | GET /v2/recaptchaConfigGets parameters needed for reCAPTCHA analysis. | 
REST Resource: v2.accounts
| Methods | |
|---|---|
| revokeToken | POST /v2/accounts:revokeTokenRevokes a user's token from an Identity Provider (IdP). | 
REST Resource: v2.accounts.mfaEnrollment
| Methods | |
|---|---|
| finalize | POST /v2/accounts/mfaEnrollment:finalizeFinishes enrolling a second factor for the user. | 
| start | POST /v2/accounts/mfaEnrollment:startStep one of the MFA enrollment process. | 
| withdraw | POST /v2/accounts/mfaEnrollment:withdrawRevokes one second factor from the enrolled second factors for an account. | 
REST Resource: v2.accounts.mfaSignIn
| Methods | |
|---|---|
| finalize | POST /v2/accounts/mfaSignIn:finalizeVerifies the MFA challenge and performs sign-in | 
| start | POST /v2/accounts/mfaSignIn:startSends the MFA challenge | 
REST Resource: v2.defaultSupportedIdps
| Methods | |
|---|---|
| list | GET /admin/v2/defaultSupportedIdpsList all default supported Idps. | 
REST Resource: v2.projects
| Methods | |
|---|---|
| getConfig | GET /admin/v2/{name=projects/*/config}Retrieve an Identity Toolkit project configuration. | 
| updateConfig | PATCH /admin/v2/{config.name=projects/*/config}Update an Identity Toolkit project configuration. | 
REST Resource: v2.projects.defaultSupportedIdpConfigs
| Methods | |
|---|---|
| create | POST /admin/v2/{parent=projects/*}/defaultSupportedIdpConfigsCreate a default supported Idp configuration for an Identity Toolkit project. | 
| delete | DELETE /admin/v2/{name=projects/*/defaultSupportedIdpConfigs/*}Delete a default supported Idp configuration for an Identity Toolkit project. | 
| get | GET /admin/v2/{name=projects/*/defaultSupportedIdpConfigs/*}Retrieve a default supported Idp configuration for an Identity Toolkit project. | 
| list | GET /admin/v2/{parent=projects/*}/defaultSupportedIdpConfigsList all default supported Idp configurations for an Identity Toolkit project. | 
| patch | PATCH /admin/v2/{defaultSupportedIdpConfig.name=projects/*/defaultSupportedIdpConfigs/*}Update a default supported Idp configuration for an Identity Toolkit project. | 
REST Resource: v2.projects.domain
| Methods | |
|---|---|
| verify | POST /admin/v2/{resource=projects/*}/domain:verifyVerify the requested custom domain has required DNS records. | 
REST Resource: v2.projects.identityPlatform
| Methods | |
|---|---|
| initializeAuth | POST /v2/{project=projects/*}/identityPlatform:initializeAuthInitialize Identity Platform for a Cloud project. | 
REST Resource: v2.projects.inboundSamlConfigs
| Methods | |
|---|---|
| create | POST /admin/v2/{parent=projects/*}/inboundSamlConfigsCreate an inbound SAML configuration for an Identity Toolkit project. | 
| delete | DELETE /admin/v2/{name=projects/*/inboundSamlConfigs/*}Delete an inbound SAML configuration for an Identity Toolkit project. | 
| get | GET /admin/v2/{name=projects/*/inboundSamlConfigs/*}Retrieve an inbound SAML configuration for an Identity Toolkit project. | 
| list | GET /admin/v2/{parent=projects/*}/inboundSamlConfigsList all inbound SAML configurations for an Identity Toolkit project. | 
| patch | PATCH /admin/v2/{inboundSamlConfig.name=projects/*/inboundSamlConfigs/*}Update an inbound SAML configuration for an Identity Toolkit project. | 
REST Resource: v2.projects.oauthIdpConfigs
| Methods | |
|---|---|
| create | POST /admin/v2/{parent=projects/*}/oauthIdpConfigsCreate an Oidc Idp configuration for an Identity Toolkit project. | 
| delete | DELETE /admin/v2/{name=projects/*/oauthIdpConfigs/*}Delete an Oidc Idp configuration for an Identity Toolkit project. | 
| get | GET /admin/v2/{name=projects/*/oauthIdpConfigs/*}Retrieve an Oidc Idp configuration for an Identity Toolkit project. | 
| list | GET /admin/v2/{parent=projects/*}/oauthIdpConfigsList all Oidc Idp configurations for an Identity Toolkit project. | 
| patch | PATCH /admin/v2/{oauthIdpConfig.name=projects/*/oauthIdpConfigs/*}Update an Oidc Idp configuration for an Identity Toolkit project. | 
REST Resource: v2.projects.tenants
| Methods | |
|---|---|
| create | POST /v2/{parent=projects/*}/tenantsCreate a tenant. | 
| delete | DELETE /v2/{name=projects/*/tenants/*}Delete a tenant. | 
| get | GET /v2/{name=projects/*/tenants/*}Get a tenant. | 
| getIamPolicy | POST /admin/v2/{resource=projects/*/tenants/*}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v2/{parent=projects/*}/tenantsList tenants under the given agent project. | 
| patch | PATCH /v2/{tenant.name=projects/*/tenants/*}Update a tenant. | 
| setIamPolicy | POST /admin/v2/{resource=projects/*/tenants/*}:setIamPolicySets the access control policy for a resource. | 
| testIamPermissions | POST /admin/v2/{resource=projects/*/tenants/*}:testIamPermissionsReturns the caller's permissions on a resource. | 
REST Resource: v2.projects.tenants.defaultSupportedIdpConfigs
| Methods | |
|---|---|
| create | POST /v2/{parent=projects/*/tenants/*}/defaultSupportedIdpConfigsCreate a default supported Idp configuration for an Identity Toolkit project. | 
| delete | DELETE /v2/{name=projects/*/tenants/*/defaultSupportedIdpConfigs/*}Delete a default supported Idp configuration for an Identity Toolkit project. | 
| get | GET /v2/{name=projects/*/tenants/*/defaultSupportedIdpConfigs/*}Retrieve a default supported Idp configuration for an Identity Toolkit project. | 
| list | GET /v2/{parent=projects/*/tenants/*}/defaultSupportedIdpConfigsList all default supported Idp configurations for an Identity Toolkit project. | 
| patch | PATCH /v2/{defaultSupportedIdpConfig.name=projects/*/tenants/*/defaultSupportedIdpConfigs/*}Update a default supported Idp configuration for an Identity Toolkit project. | 
REST Resource: v2.projects.tenants.domain
| Methods | |
|---|---|
| verify | POST /admin/v2/{resource=projects/*/tenants/*}/domain:verifyVerify the requested custom domain has required DNS records. | 
REST Resource: v2.projects.tenants.inboundSamlConfigs
| Methods | |
|---|---|
| create | POST /v2/{parent=projects/*/tenants/*}/inboundSamlConfigsCreate an inbound SAML configuration for an Identity Toolkit project. | 
| delete | DELETE /v2/{name=projects/*/tenants/*/inboundSamlConfigs/*}Delete an inbound SAML configuration for an Identity Toolkit project. | 
| get | GET /v2/{name=projects/*/tenants/*/inboundSamlConfigs/*}Retrieve an inbound SAML configuration for an Identity Toolkit project. | 
| list | GET /v2/{parent=projects/*/tenants/*}/inboundSamlConfigsList all inbound SAML configurations for an Identity Toolkit project. | 
| patch | PATCH /v2/{inboundSamlConfig.name=projects/*/tenants/*/inboundSamlConfigs/*}Update an inbound SAML configuration for an Identity Toolkit project. | 
REST Resource: v2.projects.tenants.oauthIdpConfigs
| Methods | |
|---|---|
| create | POST /v2/{parent=projects/*/tenants/*}/oauthIdpConfigsCreate an Oidc Idp configuration for an Identity Toolkit project. | 
| delete | DELETE /v2/{name=projects/*/tenants/*/oauthIdpConfigs/*}Delete an Oidc Idp configuration for an Identity Toolkit project. | 
| get | GET /v2/{name=projects/*/tenants/*/oauthIdpConfigs/*}Retrieve an Oidc Idp configuration for an Identity Toolkit project. | 
| list | GET /v2/{parent=projects/*/tenants/*}/oauthIdpConfigsList all Oidc Idp configurations for an Identity Toolkit project. | 
| patch | PATCH /v2/{oauthIdpConfig.name=projects/*/tenants/*/oauthIdpConfigs/*}Update an Oidc Idp configuration for an Identity Toolkit project. | 
REST Resource: v1
| Methods | |
|---|---|
| getProjects | GET /v1/projectsGets a project's public Identity Toolkit configuration. | 
| getPublicKeys | GET /v1/publicKeysRetrieves public keys of the legacy Identity Toolkit token signer to enable third parties to verify the legacy ID token. | 
| getRecaptchaParams | GET /v1/recaptchaParamsGets parameters needed for generating a reCAPTCHA challenge. | 
| getSessionCookiePublicKeys | GET /v1/sessionCookiePublicKeysRetrieves the set of public keys of the session cookie JSON Web Token (JWT) signer that can be used to validate the session cookie created through createSessionCookie. | 
REST Resource: v1.accounts
| Methods | |
|---|---|
| createAuthUri | POST /v1/accounts:createAuthUriIf an email identifier is specified, checks and returns if any user account is registered with the email. | 
| delete | POST /v1/accounts:deleteDeletes a user's account. | 
| issueSamlResponse | POST /v1/accounts:issueSamlResponseExperimental | 
| lookup | POST /v1/accounts:lookupGets account information for all matched accounts. | 
| resetPassword | POST /v1/accounts:resetPasswordResets the password of an account either using an out-of-band code generated by sendOobCode or by specifying the email and password of the account to be modified. | 
| sendOobCode | POST /v1/accounts:sendOobCodeSends an out-of-band confirmation code for an account. | 
| sendVerificationCode | POST /v1/accounts:sendVerificationCodeSends a SMS verification code for phone number sign-in. | 
| signInWithCustomToken | POST /v1/accounts:signInWithCustomTokenSigns in or signs up a user by exchanging a custom Auth token. | 
| signInWithEmailLink | POST /v1/accounts:signInWithEmailLinkSigns in or signs up a user with a out-of-band code from an email link. | 
| signInWithGameCenter | POST /v1/accounts:signInWithGameCenterSigns in or signs up a user with iOS Game Center credentials. | 
| signInWithIdp | POST /v1/accounts:signInWithIdpSigns in or signs up a user using credentials from an Identity Provider (IdP). | 
| signInWithPassword | POST /v1/accounts:signInWithPasswordSigns in a user with email and password. | 
| signInWithPhoneNumber | POST /v1/accounts:signInWithPhoneNumberCompletes a phone number authentication attempt. | 
| signUp | POST /v1/accounts:signUpSigns up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. | 
| update | POST /v1/accounts:updateUpdates account-related information for the specified user by setting specific fields or applying action codes. | 
| verifyIosClient | POST /v1/accounts:verifyIosClientVerifies an iOS client is a real iOS device. | 
REST Resource: v1.projects
| Methods | |
|---|---|
| accounts | POST /v1/projects/{targetProjectId}/accountsSigns up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. | 
| createSessionCookie | POST /v1/projects/{targetProjectId}:createSessionCookieCreates a session cookie for the given Identity Platform ID token. | 
| queryAccounts | POST /v1/projects/{targetProjectId}:queryAccountsLooks up user accounts within a project or a tenant based on conditions in the request. | 
REST Resource: v1.projects.accounts
| Methods | |
|---|---|
| batchCreate | POST /v1/projects/{targetProjectId}/accounts:batchCreateUploads multiple accounts into the Google Cloud project. | 
| batchDelete | POST /v1/projects/{targetProjectId}/accounts:batchDeleteBatch deletes multiple accounts. | 
| batchGet | GET /v1/projects/{targetProjectId}/accounts:batchGetDownload account information for all accounts on the project in a paginated manner. | 
| delete | POST /v1/projects/{targetProjectId}/accounts:deleteDeletes a user's account. | 
| lookup | POST /v1/projects/{targetProjectId}/accounts:lookupGets account information for all matched accounts. | 
| query | POST /v1/projects/{targetProjectId}/accounts:queryLooks up user accounts within a project or a tenant based on conditions in the request. | 
| sendOobCode | POST /v1/projects/{targetProjectId}/accounts:sendOobCodeSends an out-of-band confirmation code for an account. | 
| update | POST /v1/projects/{targetProjectId}/accounts:updateUpdates account-related information for the specified user by setting specific fields or applying action codes. | 
REST Resource: v1.projects.tenants
| Methods | |
|---|---|
| accounts | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accountsSigns up a new email and password user or anonymous user, or upgrades an anonymous user to email and password. | 
| createSessionCookie | POST /v1/projects/{targetProjectId}/tenants/{tenantId}:createSessionCookieCreates a session cookie for the given Identity Platform ID token. | 
REST Resource: v1.projects.tenants.accounts
| Methods | |
|---|---|
| batchCreate | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchCreateUploads multiple accounts into the Google Cloud project. | 
| batchDelete | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchDeleteBatch deletes multiple accounts. | 
| batchGet | GET /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchGetDownload account information for all accounts on the project in a paginated manner. | 
| delete | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:deleteDeletes a user's account. | 
| lookup | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:lookupGets account information for all matched accounts. | 
| query | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:queryLooks up user accounts within a project or a tenant based on conditions in the request. | 
| sendOobCode | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:sendOobCodeSends an out-of-band confirmation code for an account. | 
| update | POST /v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:updateUpdates account-related information for the specified user by setting specific fields or applying action codes. |