Google Play Developer API (Android Publisher) integration with managed OAuth. Manage apps, subscriptions, in-app purchases, and reviews. Use this skill when users want to interact with Google Play Console programmatically. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Google Play Developer API (Android Publisher) integration with managed OAuth. Manage apps, subscriptions, in-app purchases, and reviews. Use this skill when users want to interact with Google Play Console programmatically. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Access the Google Play Developer API (Android Publisher) with managed OAuth authentication. Manage app listings, subscriptions, in-app purchases, reviews, and more.
Replace {native-api-path} with the actual Android Publisher API endpoint path. The gateway proxies requests to and automatically injects your OAuth token.
androidpublisher.googleapis.com
Authentication
All requests require the Maton API key in the Authorization header:
Authorization: Bearer $MATON_API_KEY
Environment Variable: Set your API key as MATON_API_KEY:
GET /google-play/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}
Acknowledge Purchase
POST /google-play/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge
Content-Type: application/json
{
"developerPayload": "optional payload"
}
Get Subscription Purchase
GET /google-play/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}
Cancel Subscription
POST /google-play/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel
Refund Subscription
POST /google-play/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund
Reviews
List Reviews
GET /google-play/androidpublisher/v3/applications/{packageName}/reviews
Get Review
GET /google-play/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}
Reply to Review
POST /google-play/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply
Content-Type: application/json
{
"replyText": "Thank you for your feedback!"
}
Edits (App Updates)
Create Edit
POST /google-play/androidpublisher/v3/applications/{packageName}/edits
Get Edit
GET /google-play/androidpublisher/v3/applications/{packageName}/edits/{editId}
Commit Edit
POST /google-play/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
Replace {packageName} with your app's package name (e.g., com.example.app)
The Google Play Developer API requires the app to be published on Google Play
Subscription management requires the app to have active subscriptions configured
Edits are transactional - create an edit, make changes, then commit
IMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing
IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.
Error Handling
Status
Meaning
400
Missing Google Play connection
401
Invalid or missing Maton API key
404
Package not found or no access
429
Rate limited (10 req/sec per account)
4xx/5xx
Passthrough error from Google Play API
Troubleshooting: API Key Issues
Check that the MATON_API_KEY environment variable is set:
echo$MATON_API_KEY
Verify the API key is valid by listing connections: