Google Play Developer Grants API

The Grants API from Google Play Developer — 2 operation(s) for grants.

GitHub OpenAPI

Operations 3

POST /androidpublisher/v3/developers/{developersId}/users/{usersId}/grants Create grants #
PATCH /androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId} Patch grants #
DELETE /androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId} Delete grants #

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-grants-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

google-play-grants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Android Developer Grants API
  version: v3
  description: Generated from Google's published Discovery document for Google Play Android Developer API (androidpublisher v3, revision 20261111). 3 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://androidpublisher.googleapis.com
tags:
- name: Grants
paths:
  /androidpublisher/v3/developers/{developersId}/users/{usersId}/grants:
    post:
      operationId: androidpublisher.grants.create
      summary: Create grants
      description: Grant access for a user to the given package.
      parameters:
      - name: developersId
        in: path
        required: true
        description: Resource name segment (developersId).
        schema:
          type: string
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Grant'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Grant'
        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:
      - Grants
  /androidpublisher/v3/developers/{developersId}/users/{usersId}/grants/{grantsId}:
    patch:
      operationId: androidpublisher.grants.patch
      summary: Patch grants
      description: Updates access for the user to the given package.
      parameters:
      - name: developersId
        in: path
        required: true
        description: Resource name segment (developersId).
        schema:
          type: string
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      - name: grantsId
        in: path
        required: true
        description: Resource name segment (grantsId).
        schema:
          type: string
      - name: updateMask
        in: query
        required: false
        description: Optional. The list of fields to be updated.
        schema:
          type: string
          format: google-fieldmask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Grant'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Grant'
        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:
      - Grants
    delete:
      operationId: androidpublisher.grants.delete
      summary: Delete grants
      description: Removes all access for the user to the given package or developer account.
      parameters:
      - name: developersId
        in: path
        required: true
        description: Resource name segment (developersId).
        schema:
          type: string
      - name: usersId
        in: path
        required: true
        description: Resource name segment (usersId).
        schema:
          type: string
      - name: grantsId
        in: path
        required: true
        description: Resource name segment (grantsId).
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        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:
      - Grants
components:
  schemas:
    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
    Grant:
      description: An access grant resource.
      type: object
      properties:
        packageName:
          type: string
          description: Immutable. The package name of the app. This will be empty for draft apps.
        name:
          type: string
          description: Required. Resource name for this grant, following the pattern "developers/{developer}/users/{email}/grants/{package_name}". If this grant is for a draft app, the app ID will be used in this resource name instead of the package name.
        appLevelPermissions:
          type: array
          description: The permissions granted to the user for this app.
          items:
            type: string
            enum:
            - APP_LEVEL_PERMISSION_UNSPECIFIED
            - CAN_ACCESS_APP
            - CAN_VIEW_FINANCIAL_DATA
            - CAN_MANAGE_PERMISSIONS
            - CAN_REPLY_TO_REVIEWS
            - CAN_MANAGE_PUBLIC_APKS
            - CAN_MANAGE_TRACK_APKS
            - CAN_MANAGE_TRACK_USERS
            - CAN_MANAGE_PUBLIC_LISTING
            - CAN_MANAGE_DRAFT_APPS
            - CAN_MANAGE_ORDERS
            - CAN_MANAGE_APP_CONTENT
            - CAN_VIEW_NON_FINANCIAL_DATA
            - CAN_VIEW_APP_QUALITY
            - CAN_MANAGE_DEEPLINKS
  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/androidpublisher: View and manage your Google Play Developer account
externalDocs:
  url: https://developers.google.com/android-publisher
x-provenance:
  method: harvested
  publisher: Google
  source: https://androidpublisher.googleapis.com/$discovery/rest?version=v3
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)