Marketing Attribution

Register this device's AppsFlyer id against the current user

Changed on

Additive, idempotent — upserts on (user_id, appsflyer_id) and flushes any marketing events that were waiting on this identity (AppsFlyer S2S plan §3.3).

post/api/marketing/device

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/marketing/device
  • Auth
    HTTP bearer

Request body

appsflyerIdstring required
platform'ios' | 'android' required
appVersionstring
bundleIdstring

Example request

{
  "appsflyerId": "1234567890123-1234567",
  "appVersion": "3.5.1",
  "bundleId": "rewritelifestyle.ai.app"
}

Changes