appmaxxing
← All posts

Apple's Retention Messaging: How to Use It for Subscribers

App Store

What Is Apple's Retention Messaging API?

Apple's Retention Messaging API is a server-to-server API that catches users at the cancellation screen and sends them a message custom-tailored to them (e.g. a discount, a switch to a different plan, an extended free trial, or a reminder of what they'll miss out on) based on logic you implement in your backend. It's native to Apple's cancellation screen on iOS 15.1+ , iPadOS 15.1+ , macOS 14+ , and visionOS 1+, so it can be a last-ditch effort to retain a user who's paid up but still ready to cancel. This API works only on request (Apple approves access on a per-app basis), but it's also worth pursuing because it appears before cancellation - which means you can actually reach free-trial cancelers, which the no-code App Store Connect version cannot. Churn is often the final symptom of some sort of flubbed onboarding or confusing first run, but this API captures users at the last step. Sometimes, just an extension or a timely reminder could be enough to change their mind.

Here's how I see it: If your onboarding sucks, a retention message isn't going to fix it. However, for users who did engage with your flow, but simply got distracted or paused at some point, you can likely catch them again with a retention message.

Whenever a user hits cancel, your server is informed immediately — and then you can determine what to show them, based on who they are.

What really matters here is personalisation. Not just a formal "please stay" note, but an understanding that this lapsed annual customer logged into the app daily for the past three months, but has since stopped logging in. That knowledge and context make this a completely different email. Unfortunately, App Store Connect isn't going to give you this kind of information.

This leads us to the true differentiator: what App Store Connect allows versus what the API unlocks.

What's the Real Difference Between App Store Connect and the Retention Messaging API?

App Store Connect allows developers to set up retention messaging with no coding and at no cost. But, it only targets subscribers who paid for at least a month. The API, available by request from Apple, can be used to target trial cancellers and responds to user behavior in real-time with personalized offers. App Store Connect is faster. The API is more flexible.

Feature App Store Connect Retention Messaging API
Access Open to all as of Nov 4, 2026 API users upon request
Setup No-code setup Endpoint setup required
Message Type Default canned messages Personalized, real-time messages
Trial Cancellers Can't message Can message+offer
Paid Subscribers Minimum 1+ month subscription Minimum 1+ month subscription

PricePush said that on November 4, 2026, Apple opened retention messages to all developers in App Store Connect. The real-time API, though, was still request-only.

App Store Connect is grab-and-go. You're live in minutes. But you can't touch trial cancellers, and every message looks the same.

The API enables your backend to astutely tailor each response — a discount to sway a trial user on the fence, a loss reminder for someone who ghosted the app. Since you're building a backend component (which should ideally respond within 700ms) make sure your dev team is in the loop.

Begin with App Store Connect if you need to move quickly and backend bandwidth is limited. If you find onboarding is causing user churn, you are losing a bunch of unmmonetized trials, or you need offers to be personality-aware — then you want to use the API. The more complex setup will be worth it.

Viktor Seraleev explains the Retention Messaging API's advantage for subscription cancellation flows, noting the eligibility requirement of at least one paid month and its flexible targeting capabilities.

How Do You Set Up the API Step by Step?

Setting up the API involves seven steps: ask for access (Only Account Holders of apps with an active subscription can do this), upload message templates (which Apple reviews before approving), configure a default message (each product needs to have one for each locale, in case Apple rejects all other messages), make a real-time endpoint (that responds over TLS 1.2 within 700 ms), test in sandbox (messages auto-approve here), check that the message shows up in the cancellation UI, and set it to a live production environment (which has an App Review feature to gate access to each message),,,.

1. Request access from Apple.

If you want access to Apple's Retention Messaging API (via a contact form), your Account Holder will have to reach out and request it.

It seems your app must be live and have an active subscription on the App Store. You can't retrofit this later.

2. Upload your message templates.

Push the header, body, and an optional image - each identified by messageIdentifier - with the Upload Message endpoint. Treat each body, header, or image in your message as a named template of the message template. Apple will then sign off on each one before it ever gets shown to users.

3. Wait for APPROVED state.

Messages will be PENDING. In the sandbox, messages auto-approve instantly; for production, messages will go through the App Review process. Message and image (if using) must be APPROVED before the message will be visible to users.

4. Configure a default message per product and locale.

If you don't set this, you're not protected. To set this, you can Configure a Default Message per productId and locale. If your server experiences a timeout, Apple will serve this as the fallback.

5. Build your Get Retention Message endpoint.

Your Post endpoint must use a valid SSL certificate and TLS 1.2 and give a response within 700ms. This is where you add personalization and real-time logic to your endpoint.

6. Test in sandbox.

Set up your sandbox url, run an Initiate Performance Test triggered a cancellation, and confirm that the appropriate message is displayed in Apple's cancellation UI.

7. Go live in production.

Once sandbox passes, use Configure Realtime URL to point production live. Production messages still require App Review.

Header: max 66 characters. Body: max 144 characters. Up to 5 bullets at 66 characters each,.

Now that you know how to setup an in-app message, let's explore the four different types of in-app messages you can send, along with the best ones for each retention use-case.

How Does Your Server Actually Respond in Real Time?

When a user opens the subscription details page and considers canceling, Apple calls your server endpoint - and you have 700ms to tell them what to display to the user. You decode the JWS-signed payload to determine who is potentially canceling. It includes info like transaction id, product, locale, and environment. Then you return a single thing: a product swap, promotional offer, or message. Don't mix and match. Also, remember to use an APPROVED ID. If your server isn't configured, fails to respond, or timeouts, then apple shows the default fallback message configured for that product and locale. No emptiness. No silence. Hence, you must have your fallback configured per product and locale. It's your safety net and not optional.

Here's how I like to think about it: A bouncer at the velvet rope that checks their list. Someone walks up to them (subscription details page), the bouncer can see their name and why they're there (your decoded payload). You can then relay real-time info back -- but you need to be specific and quick. If you're thinking about the right context, you'll know who's at the door and why they could potentially leave.

One thing I've seen most teams overthink. Your response can only be 1 of the 3: message, offer, or product switch. That's all. And to avoid getting rejected by Apple mid-flow, you'll want to reference an APPROVED ID. Beyond this, keep it straightforward. The 700-millisecond window isn't about complexity — it's about speed.

Here's the thing that trips people up if anything goes wrong on your end - those pre-configured defaults kick in automatically. Slow endpoints, network hiccups, misconfigured logic - it's all caught by the fallback. But this only works if you've actually had a chance to set those defaults up first. Perfect that real-time response, configure your defaults as insurance, and you're ready to test what actually moves the needle.

How Your Server Responds in 700 Milliseconds

What Are the Key Limitations to Know?

While it's not possible to message free-trial cancellers in App Store Connect (they need to have had one paid month), if Apple approves API access, you can do their targeting; note that offers that switch plans or that are promotional can't be set up as defaults, retention can only be sent to iOS 15.1+ and newer, Apple will reject inaccurate or misleading copy, and you should create a message variant just for weekly subscribers since they are the hardest group to retain.

This is where the guardrails come into play.

And that's it. Ready to test what really sticks?

How Do You Measure What's Working?

You get all the data in the world from Apple: impressions, cancellations, subscribers retained for every message you run — so you've got no excuse not to test. Use the Get Message List endpoint to see which variations are approved and running. A/B a loss-reminder message against a discount offer to see what actually stops the bleed, and expect weekly subscribers to need their own dedicated message strategy. Here's the thing: churn isn't isolated. Fix retention and your whole app's health numbers move with it — better cohorts, stronger activation, the works.

Testing looks a little bit like...

At any given time, weekly subscribers will be the most challenging audience to retain. To that end, they will likely require very different messaging from your other monthly or annual plans, so don't try to apply the same copy to each one. Instead, build that variant early on and watch how it performs.

What Message Types Can You Show?

Apple provides four message variations that can help with different retention goals: text-only (with optional bullet points), text-with-hero-image, upgrade switch-the-user-to-cheaper-plan-in-the-same-family nudge, and promotional discounts featuring different prices. If you're looking for a straightforward way to remind a user of their loss (like a badge they've nearly earned), the text-only version delivers a simple and clean nudge. The two text and image versions require that Apple approve the image, but provide a more visual nudge to the user. The text and image messages offer the user a nudge that they can switch to another plan that costs less and keep access to whatever they're using. The promotional message is a nudge that offers the user a chance to get a discount at a price. You can't pair the promotional message with an image, and Apple has to sign it on the server. Relatedly, it may be more effective to combine a well-crafted message with the loss-reminder (and focus on the loss) rather than focus on giving the user a discount.

Text-only (with optional bullets)

Hypothetically, the most basic one. Includes a headline, the main copy, and up to 5 bullets. Best for reminding or nudging users to notice mottis, features, or progress they might be missing (e.g., "You're 47 days away from your yearly achievement badge").

Text + hero image

Same thing, but you also have an image. Just like above, images will also be subject to upload-and-approval before they can be placed, so be careful not to leave that process until launch week.

Switch-plan

Offers an option to the subscriber to switch to a plan that's more affordable but within the same subscription category. Subscribers are not required to change to a higher-priced plan in order to stay. Suggested plan to be in the same subscription category as the current plan of the subscriber.

Promotional offer

An offer for the user to purchase this tier or a different tier at a discounted rate. No image can be used with this offer; also, because the server will need to sign this offer before returning it, it'll take a bit more backend work to initially implement, but it allows you to change the price dynamically.

What's behind loss-framing's win? Users remember what they're about to lose more than any imagined benefits that they haven't gained yet. For example, users may hold a stronger memory of "You'll lose access to your saved library" versus "Save 30% today."

Each message type is designed to be used at a particular lifecycle moment within the cancellation flow. Choose any that align best with your retention goals, and then test to see which messaging best resonates with your audience.

Four Message Types and When to Use Each

When Should You Use Each Message Type?

There's no one-size-fits-all message approach. What works in each case depends on why this specific subscriber is about to cancel — and that's what your real-time endpoint exists to accomplish: decode the payload, branch on product, locale, and subscription age, and return the type that fits the situation.

Here's how I'd segue the four types into where they'd actually work:

The great part: Apple doesn't pick the message, your endpoint does. Two users canceling the same product within 10 seconds of each other might see a totally different messaging: one's a downgrade nudge, one's a loss reminder, one's discount. That's the whole point of building for the API, rather than using the no-code templates.

Test which text actually resonates with your users, after choosing the one that aligns with your retention goal.

Is This Worth Setting Up for Your App?

The Retention Messaging API is something you should consider setting up (assuming you've got actual subscriber volume). But in truth, the App Store Connect no-code flow should be used first to set a baseline, then graduate to the API once you have actual signal. What the API actually enables you to do is relevant: targeting trial cancellers in real-time, personalizing retention based on subscription behaviors, etc. These are things a no-code flow can't do. Per PricePush, API access is the one that's by request, while the no-code option is now available to all devs on App Store Connect. So it's not that it's blocked, per se — it just needs to be done in a particular order. Here's the one thing most founders miss: no matter how clever your retention message, it's not going to fix a leaky install flow, onboarding that doesn't make sense, or a first run experience that no one's hooked with. At Appmaxxing, I've seen founders get excited about the API (for good reason), but they're often still only looking at one piece of the puzzle. While the cancellation screen is important, it's not the foundation. It's the last line of defense. If you've made sure your app install > onboarding > first run is all working, the API is the last stop and safety net for people who would've otherwise walked past that.

Find the leak in your app's funnel

A personally-reviewed conversion audit with a prioritized roadmap of what to test next.