Contents

List all subscription groups for an app

Get a list of subscription groups for a specific app.

URL

GET https://api.appstoreconnect.apple.com/v1/apps/{id}/subscriptionGroups

Path Parameters

NameTypeDescription
id Requiredstring

An opaque resource ID that uniquely identifies the resource. Obtain the app resource ID from the List apps response.

Query Parameters

NameTypeDescription
fields[subscriptionGroupLocalizations] Optional[string]

Additional fields to include for each subscription group localization resource returned by the response.

fields[subscriptionGroups] Optional[string]

Additional fields to include for each subscription group resource returned by the response.

fields[subscriptions] Optional[string]

Additional fields to include for each subscription resource returned by the response.

filter[referenceName] Optional[string]

Filter the returned subscription groups by reference name.

filter[subscriptions.state] Optional[string]

Filter the returned subscription groups by subscriptions state.

include Optional[string]

The relationship data to include in the response.

limit Optionalinteger

The maximum number of subscription group resources to return.

limit[subscriptionGroupLocalizations] Optionalinteger

The maximum number of related subscription group localizations resources to return.

limit[subscriptions] Optionalinteger

The maximum number of related subscriptions resources to return.

sort Optional[string]

Attributes by which to sort.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
SubscriptionGroupsResponse

400Bad Request
Content-Type: application/json
ErrorResponse

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse

404Not Found
Content-Type: application/json
ErrorResponse

429
Content-Type: application/json
ErrorResponse

See Also

Getting subscription group and subscription grace period information