Skip to main content

App Store Connect

App Store Connect provides iOS app metadata, customer reviews (rating, title, body, reviewer nickname, territory), and version history.

What it powers

  • Detail panel — Customer reviews list (when Sentry is not available but App Store Connect is configured)
  • KPI Strip — App rating (average stars + review count)

Getting your API credentials

App Store Connect uses JWT authentication with an ES256 private key. You need three values.
1

Sign in to App Store Connect

Go to appstoreconnect.apple.com and sign in with your Apple ID.
2

Navigate to API Keys

Go to Users and Access > Integrations > App Store Connect API.If you don’t see this, you need the Admin or Account Holder role.
3

Generate an API key

Click the + button to create a new key. Give it a name and assign the Developer role (or whatever minimal role you need).After creation, note the:
  • Key ID (displayed in the table)
  • Issuer ID (displayed at the top of the page)
4

Download the private key

Click Download API Key to get the .p8 file.
You can only download it once. Store it securely.
Open the .p8 file in a text editor. The content looks like:
-----BEGIN PRIVATE KEY-----
MIGTAgEAMBMGB...
-----END PRIVATE KEY-----
5

Format for env var

Replace newlines with \n when setting the env var, so the entire key is on one line.

Environment variables

.env.local
ASC_KEY_ID=XXXXXXXXXX
ASC_ISSUER_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
ASC_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIGTAgEA...\n-----END PRIVATE KEY-----"

API details

PropertyValue
API base URLhttps://api.appstoreconnect.apple.com/v1/
Rate limit200 requests/minute
Cache TTL15 minutes
AuthenticationJWT (ES256 algorithm)

Widgets that use this service

Detail Panel

Shows customer reviews when available.

KPI Strip

App rating cell with average stars and review count.