/
Monetization data
/
Subscription and in-app
/
AppStore Connect

How to integrate Apple App Store S2S notifications with campaignswell

Step 0. Follow the Apple guide

Set up the notifications according to Apple’s official documentation.

We recommend using Notification Version 2

Where to add the Campaignswell endpoint

App Store Connect allows only one Server Notifications URL per environment. So before adding ours, check whether that field is free. Work through these three scenarios in order — start at the top and only move down if you need to.

Scenario 1 — The field is empty

This is the simplest case. Open App Store Connect, go to the App Store Server Notifications URL field, paste the Campaignswell endpoint (for Appstore Connect), and select Version 2. That's it — Apple now sends events straight to us.

Scenario 2 — A URL is already there

If you see a link already in the field (for example a RevenueCat, Adapty, or AppsFlyer URL), please don't overwrite it — that platform is currently receiving your Apple events, and replacing the URL would break it.

Instead, go into that platform and add the Campaignswell endpoint there as a redirect (sometimes called a forwarding URL or webhook). The platform will then pass the same Apple events along to us, and everyone keeps receiving what they need.

Scenario 3 — The redirect is also taken

If that platform's redirect slot is occupied too, the events are likely being forwarded to your own backend. In that case, the cleanest solution is to forward (proxy) the raw App Store Connect events to us, unmodified.


How to integrate AppStore Connect API with Campaignswell

You’ll need to gather the following details: Key ID, Issuer ID, Vendor ID, and Private API Key.

Step 1. Generate Private API Key

  • You must have an Admin role in App Store Connect.
  • Go to App Store Connect > Users and Access > Keys (under API).
  • Select the “Sales and Trends” service.
  • Generate Private API Key
  • Enable Marketing, Sales & Reports accesses

  • Download the generated API Key (.p8 file).

    Step 2. Get Key ID

  • You’ll find the Key ID listed next to the API key you downloaded.
  • Example: 8Q695CWY26
  • Copy the Key ID.
  • Step 3. Get Issuer ID

  • The Issuer ID is shown at the top of the Keys page.
  • Click Copy next to it to copy the value.
  • Step 4. Get Vendor ID

  • Go to Payments and Financial Reports in App Store Connect.
  • Go to Payments and Financial Reports in App Store Connect
  • The Vendor Number appears in the top-left corner under your Legal Entity Name.
  • Copy the Vendor ID
  • Copy the Vendor ID