Switch from AppsFlyer S2S API 2 to 3
According to the official AppsFlyer 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.
Adapty supports AppsFlyer S2S API 3 and provides you with a seamless switch from API 2. Keep in mind that this switch is one-way, so you won’t be able to return to API 2 once you’ve made the change.
To switch from AppsFlyer S2S API 2 to 3:
-
Open the AppsFlyer site and log in.
-
Click Your account name -> Security Center in the top-left corner of the dashboard.
-
In the Manage your account security window, click the Manage your AppsFlyer API and S2S tokens button.
-
If you do not have an S2S token, click the New token button. If you have it, please proceed with step 8.
-
In the New token window, enter the name of the token. This name is solely for your reference.
-
Choose S2S in the Choose type list.
-
Don't forget to click the Create new token button to save the new token.
-
In the Tokens window, copy the S2S token.
-
Open Integrations -> AppsFlyer in the Adapty Dashboard.
-
In the AppsFlyer S2S API field, select API 3.
-
Paste the copied S2S key into the Dev key for iOS and Dev key for Android fields.
-
Click the Save button to confirm the switch.
At this moment, your integration instantly switches to AppsFlyer S2S API 3 and your new events will be sent to the new URL: https://api3.appsflyer.com/inappevent
.