Google Firebase OAUTH Clients API

The OauthClients API from Google Firebase — 4 operation(s) for oauthclients.

GitHub OpenAPI

Operations 4

POST /v1/oauthClients/{oauthClientsId}:generateAppAttestChallenge Generate app attest challenge oauthClients #
POST /v1/oauthClients/{oauthClientsId}:exchangeAppAttestAssertion Exchange app attest assertion oauthClients #
POST /v1/oauthClients/{oauthClientsId}:exchangeDebugToken Exchange debug token oauthClients #
POST /v1/oauthClients/{oauthClientsId}:exchangeAppAttestAttestation Exchange app attest attestation oauthClients #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-firebase:google-firebase-oauthclients-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-firebase-oauthclients-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Firebase App Check OAUTH Clients API
  version: v1
  description: Generated from Google's published Discovery document for Firebase App Check API (firebaseappcheck v1, revision 20261106). 4 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://firebaseappcheck.googleapis.com
tags:
- name: OauthClients
paths:
  /v1/oauthClients/{oauthClientsId}:generateAppAttestChallenge:
    post:
      operationId: firebaseappcheck.oauthClients.generateAppAttestChallenge
      summary: Generate app attest challenge oauthClients
      description: Generates a challenge that protects the integrity of an immediately following call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A challenge should not be reused for multiple calls.
      parameters:
      - name: oauthClientsId
        in: path
        required: true
        description: Resource name segment (oauthClientsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/firebase
      - apiKey: []
      tags:
      - OauthClients
  /v1/oauthClients/{oauthClientsId}:exchangeAppAttestAssertion:
    post:
      operationId: firebaseappcheck.oauthClients.exchangeAppAttestAssertion
      summary: Exchange app attest assertion oauthClients
      description: Accepts an App Attest assertion and an artifact previously obtained from ExchangeAppAttestAttestation and verifies those with Apple. If valid, returns an AppCheckToken.
      parameters:
      - name: oauthClientsId
        in: path
        required: true
        description: Resource name segment (oauthClientsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleFirebaseAppcheckV1AppCheckToken'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/firebase
      - apiKey: []
      tags:
      - OauthClients
  /v1/oauthClients/{oauthClientsId}:exchangeDebugToken:
    post:
      operationId: firebaseappcheck.oauthClients.exchangeDebugToken
      summary: Exchange debug token oauthClients
      description: Validates a debug token secret that you have previously created using CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive quota is enforced on this method to prevent accidental exposure of the app to abuse.
      parameters:
      - name: oauthClientsId
        in: path
        required: true
        description: Resource name segment (oauthClientsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleFirebaseAppcheckV1AppCheckToken'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/firebase
      - apiKey: []
      tags:
      - OauthClients
  /v1/oauthClients/{oauthClientsId}:exchangeAppAttestAttestation:
    post:
      operationId: firebaseappcheck.oauthClients.exchangeAppAttestAttestation
      summary: Exchange app attest attestation oauthClients
      description: Accepts an App Attest CBOR attestation and verifies it with Apple using your preconfigured team and bundle IDs. If valid, returns an attestation artifact that can later be exchanged for an AppCheckToken using ExchangeAppAttestAssertion. For convenience and performance, this method's response object will also contain an AppCheckToken (if the verification is successful).
      parameters:
      - name: oauthClientsId
        in: path
        required: true
        description: Resource name segment (oauthClientsId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/firebase
      - apiKey: []
      tags:
      - OauthClients
components:
  schemas:
    GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest:
      description: Request message for the ExchangeAppAttestAttestation method.
      properties:
        attestationStatement:
          format: byte
          description: Required. The App Attest statement returned by the client-side App Attest API. This is a base64url encoded CBOR object in the JSON response.
          type: string
        challenge:
          description: Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge.
          type: string
          format: byte
        limitedUse:
          type: boolean
          description: 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`.
        keyId:
          description: Required. The key ID generated by App Attest for the client app.
          type: string
          format: byte
      type: object
    GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationResponse:
      type: object
      description: Response message for the ExchangeAppAttestAttestation method.
      properties:
        appCheckToken:
          $ref: '#/components/schemas/GoogleFirebaseAppcheckV1AppCheckToken'
          description: Encapsulates an App Check token.
        artifact:
          description: An artifact that can be used in future calls to ExchangeAppAttestAssertion.
          format: byte
          type: string
    GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse:
      properties:
        challenge:
          format: byte
          description: A one-time use challenge for the client to pass to the App Attest API.
          type: string
        ttl:
          type: string
          description: The duration from the time this challenge is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.
          format: google-duration
      type: object
      description: Response message for the GenerateAppAttestChallenge method.
    GoogleFirebaseAppcheckV1AppCheckToken:
      properties:
        ttl:
          description: The duration from the time this token is minted until its expiration. This field is intended to ease client-side token management, since the client may have clock skew, but is still able to accurately measure a duration.
          type: string
          format: google-duration
        token:
          type: string
          description: The App Check token. App Check tokens are signed [JWTs](https://www.rfc-editor.org/info/rfc7519/) containing claims that identify the attested app and GCP project. This token is used to access Google services protected by App Check. These tokens can also be [verified by your own custom backends](https://firebase.google.com/docs/app-check/custom-resource-backend) using the Firebase Admin SDK or third-party libraries.
      type: object
      description: Encapsulates an *App Check token*, which are used to access backend services protected by App Check.
    GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest:
      description: Request message for the GenerateAppAttestChallenge method.
      properties: {}
      type: object
    GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest:
      type: object
      properties:
        assertion:
          type: string
          description: Required. The CBOR-encoded assertion returned by the client-side App Attest API.
          format: byte
        challenge:
          format: byte
          type: string
          description: Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge.
        limitedUse:
          type: boolean
          description: 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`.
        artifact:
          type: string
          format: byte
          description: Required. The artifact returned by a previous call to ExchangeAppAttestAttestation.
      description: Request message for the ExchangeAppAttestAssertion method.
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    GoogleFirebaseAppcheckV1ExchangeDebugTokenRequest:
      properties:
        debugToken:
          description: Required. A debug token secret. This string must match a debug token secret previously created using CreateDebugToken.
          type: string
        limitedUse:
          type: boolean
          description: 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`.
      type: object
      description: Request message for the ExchangeDebugToken method.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/firebase: View and administer all your Firebase data and settings
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
externalDocs:
  url: https://firebase.google.com/docs/app-check
x-provenance:
  method: harvested
  publisher: Google
  source: https://firebaseappcheck.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)