---
title: "POST /v1/{+app}:exchangeCustomToken"
method: POST
path: "/v1/{+app}:exchangeCustomToken"
tags: ["projects"]
---

# POST /v1/{+app}:exchangeCustomToken

`POST /v1/{+app}:exchangeCustomToken`

Validates a custom token signed using your project's Admin SDK service account credentials. If valid, returns an AppCheckToken.

## Path parameters

- `app` string, required

## Request body

- GoogleFirebaseAppcheckV1ExchangeCustomTokenRequest — Request message for the ExchangeCustomToken method.
  - `customToken` string — Required. A custom token signed using your project's Admin SDK service account credentials.
  - `limitedUse` boolean — Specifies whether this attestation is for use in a *limited use* (`true`) or *session based* (`false`) context. To enable this attestation to be used with the *replay protection* feature, set this to `true`. The default value is `false`.

## Response `200`

Successful response

---

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