CaddoraHome

Guides · AppStato

How to create an App Store Connect API key, and find your Issuer ID and vendor number

Three separate things, from two different pages of App Store Connect. The Issuer ID and theAPI key come from Users and Access › Integrations › App Store Connect API. Thevendor number comes from Payments and Financial Reports. The key downloads once, as a.p8 file that Apple will not let you download again, and it is the only one of the three that is a secret.

The three pieces

WhatWhere it livesLooks likeSecret?
Issuer IDUsers and Access › Integrations › App Store Connect API, above the key listA UUIDNo
Key IDThe same page, in the key's row10 charactersNo
Private key (.p8)Downloaded once when you generate the keyAuthKey_XXXXXXXXXX.p8Yes
Vendor numberPayments and Financial Reports, under your name as “Vendor #”8 digitsNo

Creating the key

  1. Open Users and Access › Integrations › App Store Connect API.
  2. Press + to add a key.
  3. Name it for whatever will use it.
  4. Choose the access it needs. AppStato's own flow asks for Sales and Reports.
  5. Generate, then Download.

The download happens once. Apple does not offer the file again, and there is no way to recover it — if you lose it, you revoke the key and make a new one. Store it somewhere you would store a password, not in a repository.

The part people get stuck on: analytics have to exist first

An API key reads reports; it does not create them. Apple only begins generating analytics reports for an account once an Admin has triggered it, and until then the analytics endpoints have nothing to return — which reads like a broken key when it isn't one. This is a one-time thing for the account, not a permanent requirement, and nothing about it means you have to keep an Admin key around afterwards.

If your downloads and impressions come back empty while sales data works, this is the first thing to check.

The error that means your vendor number is wrong

An unknown vendor number makes the sales endpoint return HTTP 500, not the 400 you would expect from a bad parameter. A 500 on your first sales request is almost always a wrong vendor number rather than an outage at Apple. Check it against Payments and Financial Reports — it is the number under your name, not your team ID and not your developer ID.

Doing all this on an iPhone

You can. App Store Connect's web pages work on a phone, and the .p8 download works inside an in-app Safari sheet — verified on iPhone, 10 November 2026. Apps cannot create API keys or read your Issuer ID for you, so the copying is yours either way; what an app can do is put its own field beside Apple's page so you are not switching back and forth.

Next: sales, proceeds and currencies, or the iPhone options compared.

AppStato does that: six screens, one task each, with Apple's page in the lower half and the box to paste into above it. The key is validated, stored in the iPhone's Keychain, and iOS's copy of the downloaded file is deleted. See AppStato.