There are 2 tokens you need to find on AppsFlyer :
API token
App ID
How to find API token:
At the top right corner drop-down menu -> Select Security center -> API Manegment -> Select API token V1.0
Also we need to get the App ID. It will be under the app name: