Google Play Android Developer API
  1. users
Google Play Android Developer API
  • internalappsharingartifacts
    • /androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk
      POST
    • /androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle
      POST
  • applications
    • /androidpublisher/v3/applications/{packageName}/deviceTierConfigs
      GET
    • /androidpublisher/v3/applications/{packageName}/deviceTierConfigs
      POST
    • /androidpublisher/v3/applications/{packageName}/deviceTierConfigs/{deviceTierConfigId}
      GET
  • edits
    • /androidpublisher/v3/applications/{packageName}/edits
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}
      DELETE
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
      PATCH
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
      PUT
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/countryAvailability/{track}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
      PATCH
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
      PUT
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings
      DELETE
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
      DELETE
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
      PATCH
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
      PUT
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
      DELETE
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}
      DELETE
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
      PATCH
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
      PUT
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
      GET
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
      PATCH
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
      PUT
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
      POST
    • /androidpublisher/v3/applications/{packageName}/edits/{editId}:validate
      POST
  • generatedapks
    • /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}
    • /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
  • inappproducts
    • /androidpublisher/v3/applications/{packageName}/inappproducts
    • /androidpublisher/v3/applications/{packageName}/inappproducts
    • /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
    • /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
    • /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
    • /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
  • orders
    • /androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund
  • monetization
    • /androidpublisher/v3/applications/{packageName}/pricing:convertRegionPrices
    • /androidpublisher/v3/applications/{packageName}/subscriptions
    • /androidpublisher/v3/applications/{packageName}/subscriptions
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:activate
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}/offers/{offerId}:deactivate
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:activate
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:deactivate
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}/basePlans/{basePlanId}:migratePrices
    • /androidpublisher/v3/applications/{packageName}/subscriptions/{productId}:archive
  • purchases
    • /androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}
    • /androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke
    • /androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}
    • /androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases
  • reviews
    • /androidpublisher/v3/applications/{packageName}/reviews
    • /androidpublisher/v3/applications/{packageName}/reviews/{reviewId}
    • /androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply
  • systemapks
    • /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
    • /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
    • /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}
    • /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download
  • users
    • /androidpublisher/v3/{name}
      DELETE
    • /androidpublisher/v3/{name}
      PATCH
    • /androidpublisher/v3/{parent}/users
      GET
    • /androidpublisher/v3/{parent}/users
      POST
  • grants
    • /androidpublisher/v3/{parent}/grants
  1. users

/androidpublisher/v3/{parent}/users

POST
/androidpublisher/v3/{parent}/users
users
Grant access for a user to the given developer account.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://androidpublisher.googleapis.com//androidpublisher/v3//users' \
--header 'Content-Type: application/json' \
--data-raw '{
    "developerAccountPermissions": [
        "DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED"
    ],
    "email": "string",
    "expirationTime": "string",
    "name": "string"
}'
Response Response Example
{
    "accessState": "ACCESS_STATE_UNSPECIFIED",
    "developerAccountPermissions": [
        "DEVELOPER_LEVEL_PERMISSION_UNSPECIFIED"
    ],
    "email": "string",
    "expirationTime": "string",
    "grants": [
        {
            "appLevelPermissions": [
                "APP_LEVEL_PERMISSION_UNSPECIFIED"
            ],
            "name": "string",
            "packageName": "string"
        }
    ],
    "name": "string",
    "partial": true
}

Request

Path Params
parent
string 
required
Required. The developer account to add the user to. Format: developers/{developer}
Body Params application/json
A user resource.
developerAccountPermissions
array[string]
optional
Permissions for the user which apply across the developer account.
Allowed values:
DEVELOPER_LEVEL_PERMISSION_UNSPECIFIEDCAN_SEE_ALL_APPSCAN_VIEW_FINANCIAL_DATA_GLOBALCAN_MANAGE_PERMISSIONS_GLOBALCAN_EDIT_GAMES_GLOBALCAN_PUBLISH_GAMES_GLOBALCAN_REPLY_TO_REVIEWS_GLOBALCAN_MANAGE_PUBLIC_APKS_GLOBALCAN_MANAGE_TRACK_APKS_GLOBALCAN_MANAGE_TRACK_USERS_GLOBALCAN_MANAGE_PUBLIC_LISTING_GLOBALCAN_MANAGE_DRAFT_APPS_GLOBALCAN_CREATE_MANAGED_PLAY_APPS_GLOBALCAN_CHANGE_MANAGED_PLAY_SETTING_GLOBALCAN_MANAGE_ORDERS_GLOBAL
email
string 
optional
Immutable. The user's email address.
expirationTime
string <google-datetime>
optional
The time at which the user's access expires, if set. When setting this value, it must always be in the future.
name
string 
optional
Required. Resource name for this user, following the pattern "developers/{developer}/users/{email}".
Examples

Responses

🟢200Successful response
application/json
Body
A user resource.
accessState
enum<string> 
read-onlyoptional
Output only. The state of the user's access to the Play Console.
Allowed values:
ACCESS_STATE_UNSPECIFIEDINVITEDINVITATION_EXPIREDACCESS_GRANTEDACCESS_EXPIRED
developerAccountPermissions
array[string]
optional
Permissions for the user which apply across the developer account.
Allowed values:
DEVELOPER_LEVEL_PERMISSION_UNSPECIFIEDCAN_SEE_ALL_APPSCAN_VIEW_FINANCIAL_DATA_GLOBALCAN_MANAGE_PERMISSIONS_GLOBALCAN_EDIT_GAMES_GLOBALCAN_PUBLISH_GAMES_GLOBALCAN_REPLY_TO_REVIEWS_GLOBALCAN_MANAGE_PUBLIC_APKS_GLOBALCAN_MANAGE_TRACK_APKS_GLOBALCAN_MANAGE_TRACK_USERS_GLOBALCAN_MANAGE_PUBLIC_LISTING_GLOBALCAN_MANAGE_DRAFT_APPS_GLOBALCAN_CREATE_MANAGED_PLAY_APPS_GLOBALCAN_CHANGE_MANAGED_PLAY_SETTING_GLOBALCAN_MANAGE_ORDERS_GLOBAL
email
string 
optional
Immutable. The user's email address.
expirationTime
string <google-datetime>
optional
The time at which the user's access expires, if set. When setting this value, it must always be in the future.
grants
array[object (Grant) {3}] 
read-onlyoptional
Output only. Per-app permissions for the user.
appLevelPermissions
array[string]
optional
The permissions granted to the user for this app.
Allowed values:
APP_LEVEL_PERMISSION_UNSPECIFIEDCAN_ACCESS_APPCAN_VIEW_FINANCIAL_DATACAN_MANAGE_PERMISSIONSCAN_REPLY_TO_REVIEWSCAN_MANAGE_PUBLIC_APKSCAN_MANAGE_TRACK_APKSCAN_MANAGE_TRACK_USERSCAN_MANAGE_PUBLIC_LISTINGCAN_MANAGE_DRAFT_APPSCAN_MANAGE_ORDERS
name
string 
optional
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.
packageName
string 
optional
Immutable. The package name of the app. This will be empty for draft apps.
name
string 
optional
Required. Resource name for this user, following the pattern "developers/{developer}/users/{email}".
partial
boolean 
read-onlyoptional
Output only. Whether there are more permissions for the user that are not represented here. This can happen if the caller does not have permission to manage all apps in the account. This is also true if this user is the account owner. If this field is true, it should be taken as a signal that this user cannot be fully managed via the API. That is, the API caller is not be able to manage all of the permissions this user holds, either because it doesn't know about them or because the user is the account owner.
Modified at 2022-09-11 20:51:56
Previous
/androidpublisher/v3/{parent}/users
Next
/androidpublisher/v3/{parent}/grants
Built with