Skip to main content
Use this endpoint when your app is opened after install (or on first launch) to record the install and get attribution. The backend can attribute the install to a DeepLink click (e.g. by Android install referrer or by matching a recent iOS click by IP/time). No authentication is required for this public tracking endpoint.

Endpoint

Replace the base URL with your API host (e.g. https://api.deeplink.invyto.in or your self-hosted URL).

Request

Send a JSON body with the following optional fields. The server will use request IP and User-Agent when values are omitted.

Example request

Response

  • 200 — Install recorded. Body format depends on attribution:
    • Organic (no link attributed):
    • Android with referrer (referrer string returned for your use):
    • iOS (or when linkId is used) — UTM from the matched click:
    • If you sent linkId, the backend associates the install with that link; the response may still include UTM or a simple success payload depending on implementation.
  • 500 — Server error. Response body: { "error": "Internal Server Error" }.

Attribution behavior

  • Android — If you send referrer, the backend can associate the install with a link that generated that referrer. The response may echo the referrer or return UTM derived from it.
  • iOS — There is no install referrer. The backend typically matches the install to a recent click (e.g. same IP within a time window) and returns that click’s UTM in the response.
  • linkId — If your app already knows the link (e.g. from deferred deep link data), sending linkId ensures the install is attributed to that link.

Example: Flutter/Dart

See also

Quickstart

Use the Flutter SDK to call Track Install automatically.

Flutter SDK

Install and init the SDK for install attribution.