Bulletin: Upgrading the AppsFlyer S2S API

 

What's new

To provide a more secure experience for API usage and to reduce fraud, AppsFlyer has upgraded its server-to-server (S2S) API for in-app events. The existing endpoint will be deprecated in the future and we recommend to start planning the switch.

AppsFlyer is working on a solution for third-party tech partners that send data on your behalf.

Effective date

December 12, 2023

Prerequisites

Only an admin can update the new S2S API.

Action required

Update the following fields for sending S2S in-app events to AppsFlyer:

  1. Go to the POST S2S in-app event API.
  2. Replace the URL:
    From https://api2.appsflyer.com/inappevent 
    To https://api3.appsflyer.com/inappevent
  3. Update the Authorization Header: Replace the Dev key with the new S2S key.  
  4. If you are sending S2S events to AppsFlyer via an integrated partner (such as Segment, Tealium, Amplitude, mParticle, RevenueCat, or others) contact them to learn how to update the integration.

Recommended action

Before updating the new API in all your production calls:

We highly recommend sending a number of test in-app events to the new endpoint and making sure no error is returned.

What you should know

If you have any concerns regarding fraud events being sent to the old endpoint after you've updated the new API, please turn to your CSM or AppsFlyer support. Make sure to include the relevant app IDs.

After completing the production migration, AppsFlyer will block the old API endpoint for these apps so any fraud calls will be blocked.

Who needs to update the new API?

Only advertisers must update the new S2S API for in-app events.

About the S2S API

Learn more about S2S and API tokens.