Method: monetization.subscriptions.list

Lists all subscriptions under a given app.

HTTP request

GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/subscriptions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Required. The parent app (package name) for which the subscriptions should be read.

Query parameters

Parameters
pageSize

integer

The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50 subscriptions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

A page token, received from a previous subscriptions.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to subscriptions.list must match the call that provided the page token.

showArchived

boolean

Whether archived subscriptions should be included in the response. Defaults to false.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for subscriptions.list.

JSON representation
{
  "subscriptions": [
    {
      object (Subscription)
    }
  ],
  "nextPageToken": string
}
Fields
subscriptions[]

object (Subscription)

The subscriptions from the specified app.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidpublisher