Google Play Developer Recall API

The Recall API from Google Play Developer — 6 operation(s) for recall.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /games/v1/recall:resetPersona Reset a persona's recall tokens · Reset persona recall #
Ask an LLM
“How do I unlink every in-game account from a persona's recall?”
“Can I clear all recall tokens for a persona?”
Tell an agent destructive · confirm first
Reset recall for persona {persona}.
Clear all tokens linking {persona} to any player.
POST /games/v1/recall:linkPersona Link a persona to a player via recall · Link persona recall #
Ask an LLM
“How do I connect a Google Play Games player to an in-game account with recall?”
“Can I set a time-to-live on a recall token?”
Tell an agent
Link recall token {token} for persona {persona} on session {sessionId}.
Create a {ttl} recall token {token} for {persona} with session {sessionId}.
GET /games/v1/recall/tokens/{sessionId} List a player's recall tokens · Retrieve tokens recall #
Ask an LLM
“Which in-game accounts is a player linked to via recall?”
“Can I see all recall tokens for a session?”
Tell an agent
List recall tokens for session {sessionId}.
Show every account linked to {sessionId} by recall.
POST /games/v1/recall:unlinkPersona Unlink a persona from a player via recall · Unlink persona recall #
Ask an LLM
“How do I unlink an in-game account from a player's recall?”
“Can I remove a recall token by its value?”
Tell an agent destructive · confirm first
Unlink persona {persona} from session {sessionId}.
Delete recall token {token} for {persona} on {sessionId}.
GET /games/v1/recall/developerGamesLastPlayerToken/{sessionId} Get the last recall token across all games · Last token from all developer games recall #
Ask an LLM
“What was the most recent recall token a player had across all my games?”
“Can I get one scoped ID from every game the player plays?”
Tell an agent
Get the last recall token for session {sessionId} across all my games.
Return the most recent scoped ID from all developer games for {sessionId}.
GET /games/v1/recall/gamesPlayerTokens/{sessionId} List a player's recall tokens per game · Games player tokens recall #
Ask an LLM
“Which in-game account is a player linked to in each of my games?”
“Can I fetch recall tokens for specific games only?”
Tell an agent
List recall tokens for session {sessionId} in games {applicationIds}.
Get scoped IDs for {applicationIds} for player {sessionId}.

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-play:google-play-recall-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-play-recall-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Games Services Recall API
  version: v1
  description: Generated from Google's published Discovery document for Google Play Games Services API (games v1, revision 20261106). 6 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://games.googleapis.com
tags:
- name: Recall
paths:
  /games/v1/recall:resetPersona:
    post:
      operationId: games.recall.resetPersona
      summary: Reset persona recall
      description: Delete all Recall tokens linking the given persona to any player (with or without a profile).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPersonaRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResetPersonaResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
  /games/v1/recall:linkPersona:
    post:
      operationId: games.recall.linkPersona
      summary: Link persona recall
      description: Associate the PGS Player principal encoded in the provided recall session id with an in-game account
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkPersonaRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkPersonaResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
  /games/v1/recall/tokens/{sessionId}:
    get:
      operationId: games.recall.retrieveTokens
      summary: Retrieve tokens recall
      description: Retrieve all Recall tokens associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
      parameters:
      - name: sessionId
        in: path
        required: true
        description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrievePlayerTokensResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
  /games/v1/recall:unlinkPersona:
    post:
      operationId: games.recall.unlinkPersona
      summary: Unlink persona recall
      description: Delete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnlinkPersonaRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnlinkPersonaResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
  /games/v1/recall/developerGamesLastPlayerToken/{sessionId}:
    get:
      operationId: games.recall.lastTokenFromAllDeveloperGames
      summary: Last token from all developer games recall
      description: Retrieve the last Recall token from all developer games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have active PGS Player profile.
      parameters:
      - name: sessionId
        in: path
        required: true
        description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrieveDeveloperGamesLastPlayerTokenResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
  /games/v1/recall/gamesPlayerTokens/{sessionId}:
    get:
      operationId: games.recall.gamesPlayerTokens
      summary: Games player tokens recall
      description: Retrieve the Recall tokens from all requested games that is associated with the PGS Player encoded in the provided recall session id. The API is only available for users that have an active PGS Player profile.
      parameters:
      - name: sessionId
        in: path
        required: true
        description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
        schema:
          type: string
      - name: applicationIds
        in: query
        required: false
        description: Required. The application IDs from the Google Play developer console for the games to return scoped ids for.
        schema:
          type: array
          items:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RetrieveGamesPlayerTokensResponse'
        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/androidpublisher
      - apiKey: []
      tags:
      - Recall
components:
  schemas:
    GamePlayerToken:
      properties:
        applicationId:
          description: The application that this player identifier is for.
          type: string
        recallToken:
          $ref: '#/components/schemas/RecallToken'
          description: Recall token data.
      type: object
      description: Recall tokens for a game.
    ResetPersonaRequest:
      type: object
      description: Request to remove all Recall tokens associated with a persona for an app.
      properties:
        persona:
          description: Value of the 'persona' field as it was provided by the client in LinkPersona RPC
          type: string
    LinkPersonaResponse:
      description: Outcome of a persona linking attempt.
      type: object
      properties:
        state:
          type: string
          description: Output only. State of a persona linking attempt.
          enum:
          - LINK_CREATED
          - PERSONA_OR_PLAYER_ALREADY_LINKED
          readOnly: true
    RetrieveGamesPlayerTokensResponse:
      description: A list of recall token data returned from the RetrieveGamesPlayerTokens RPC
      properties:
        gamePlayerTokens:
          description: The requested applications along with the recall tokens for the player. If the player does not have recall tokens for an application, that application is not included in the response.
          type: array
          items:
            $ref: '#/components/schemas/GamePlayerToken'
      type: object
    RecallToken:
      type: object
      properties:
        multiPlayerPersona:
          type: boolean
          description: Required. Whether the persona identified by the token is linked to multiple PGS Players
        expireTime:
          format: google-datetime
          description: Optional. Optional expiration time of the token
          type: string
        token:
          description: Required. Value of the Recall token as it is provided by the client via LinkPersona RPC
          type: string
      description: Recall token data returned from RetrievePlayerTokens RPC
    LinkPersonaRequest:
      description: Request to link an in-game account with a PGS principal (encoded in the session id).
      properties:
        cardinalityConstraint:
          type: string
          enum:
          - ONE_PERSONA_TO_ONE_PLAYER
          description: Required. Cardinality constraint to observe when linking a persona to a player in the scope of a game.
        token:
          type: string
          description: Required. Value of the token to create. Opaque to Play Games and assumed to be non-stable (encrypted with key rotation).
        ttl:
          format: google-duration
          description: Input only. Optional time-to-live.
          type: string
        sessionId:
          type: string
          description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
        expireTime:
          type: string
          format: google-datetime
          description: Input only. Optional expiration time.
        persona:
          type: string
          description: Required. Stable identifier of the in-game account. Please refrain from re-using the same persona for different games.
        conflictingLinksResolutionPolicy:
          enum:
          - KEEP_EXISTING_LINKS
          - CREATE_NEW_LINK
          description: Required. Resolution policy to apply when the linking of a persona to a player would result in violating the specified cardinality constraint.
          type: string
      type: object
    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
    RetrieveDeveloperGamesLastPlayerTokenResponse:
      properties:
        gamePlayerToken:
          $ref: '#/components/schemas/GamePlayerToken'
          description: The recall token associated with the requested PGS Player principal. It can be unset if there is no recall token associated with the requested principal.
      type: object
      description: Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC
    RetrievePlayerTokensResponse:
      properties:
        tokens:
          items:
            $ref: '#/components/schemas/RecallToken'
          description: Required. Recall tokens associated with the requested PGS Player principal
          type: array
      type: object
      description: Response for the RetrievePlayerTokens RPC
    UnlinkPersonaResponse:
      properties:
        unlinked:
          description: Required. Whether a Recall token specified by the request was deleted. Can be 'false' when there were no Recall tokens satisfied the criteria from the request.
          type: boolean
      type: object
      description: Response for the UnlinkPersona RPC
    UnlinkPersonaRequest:
      properties:
        token:
          description: Value of the Recall token as it was provided by the client in LinkPersona RPC
          type: string
        persona:
          description: Value of the 'persona' field as it was provided by the client in LinkPersona RPC
          type: string
        sessionId:
          type: string
          description: Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application.
      description: Request to remove a Recall token linking PGS principal and an in-game account
      type: object
    ResetPersonaResponse:
      properties:
        unlinked:
          type: boolean
          description: Required. Whether any tokens were unlinked as a result of this request.
      type: object
      description: Response for the ResetPersona RPC
  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/games: Create, edit, and delete your Google Play Games activity
            https://www.googleapis.com/auth/androidpublisher: View and manage your Google Play Developer account
            https://www.googleapis.com/auth/drive.appdata: See, create, and delete its own configuration data in your Google Drive
externalDocs:
  url: https://developers.google.com/games/
x-provenance:
  method: harvested
  publisher: Google
  source: https://games.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)