---
title: "POST /verifyPhoneNumber"
method: POST
path: "/verifyPhoneNumber"
tags: ["relyingparty"]
---

# POST /verifyPhoneNumber

`POST /verifyPhoneNumber`

Verifies ownership of a phone number and creates/updates the user account accordingly.

## Request body

- IdentitytoolkitRelyingpartyVerifyPhoneNumberRequest — Request for Identitytoolkit-VerifyPhoneNumber
  - `code` string
  - `verificationProof` string
  - `idToken` string
  - `temporaryProof` string
  - `operation` string
  - `sessionInfo` string — The session info previously returned by IdentityToolkit-SendVerificationCode.
  - `phoneNumber` string

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/identitytoolkit.md) · [All operations](https://skmtc.net/google/apis/identitytoolkit/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/identitytoolkit/versions/9ea63f196a10/schema)
