---
title: "POST /v1/installAttribution"
method: POST
path: "/v1/installAttribution"
tags: ["v1"]
---

# POST /v1/installAttribution

`POST /v1/installAttribution`

Get iOS strong/weak-match info for post-install attribution.

## Request body

- GetIosPostInstallAttributionRequest — Request for iSDK to execute strong match flow for post-install attribution. This is meant for iOS requests only. Requests from other platforms will not be honored.
  - `bundleId` string — APP bundle ID.
  - `device` DeviceInfo — Signals associated with the device making the request.
    - `languageCode` string — Device language code setting.
    - `timezone` string — Device timezone setting.
    - `languageCodeRaw` string — Device language code raw setting. iOS does returns language code in different format than iOS WebView. For example WebView returns en_US, but iOS returns en-US. Field below will return raw value returned by iOS.
    - `deviceModelName` string — Device model name.
    - `screenResolutionHeight` string, int64 — Device display resolution height.
    - `screenResolutionWidth` string, int64 — Device display resolution width.
    - `languageCodeFromWebview` string — Device language code setting obtained by executing JavaScript code in WebView.
  - `uniqueMatchLinkToCheck` string — Possible unique matched link that server need to check before performing device heuristics match. If passed link is short server need to expand the link. If link is long server need to vslidate the link.
  - `visualStyle` 'UNKNOWN_VISUAL_STYLE' | 'DEFAULT_STYLE' | 'CUSTOM_STYLE' — Strong match page information. Disambiguates between default UI and custom page to present when strong match succeeds/fails to find cookie.
  - `sdkVersion` string — Google SDK version. Version takes the form "$major.$minor.$patch"
  - `retrievalMethod` 'UNKNOWN_PAYLOAD_RETRIEVAL_METHOD' | 'IMPLICIT_WEAK_MATCH' | 'EXPLICIT_WEAK_MATCH' | 'EXPLICIT_STRONG_AFTER_WEAK_MATCH' — App post install attribution retrieval information. Disambiguates mechanism (iSDK or developer invoked) to retrieve payload from clicked link.
  - `appInstallationTime` string, int64 — App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This is a client signal for a more accurate weak match.
  - `iosVersion` string — iOS version, ie: 9.3.5. Consider adding "build".

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/firebasedynamiclinks.md) · [All operations](https://skmtc.dev/google/apis/firebasedynamiclinks/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/firebasedynamiclinks/revisions/8ec7ec690ac4/schema)
