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

# POST /verifyCustomToken

`POST /verifyCustomToken`

Verifies the developer asserted ID token.

## Request body

- IdentitytoolkitRelyingpartyVerifyCustomTokenRequest — Request to verify a custom token
  - `returnSecureToken` boolean — Whether return sts id token and refresh token instead of gitkit token.
  - `delegatedProjectNumber` string, int64 — GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
  - `token` string — The custom token to verify
  - `instanceId` string — Instance id token of the app.

## 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)
