# Installs

Two read endpoints give you the raw attribution records behind the dashboard's install counts. `GET /v1/installs` lists the install records: one row for each install we tied to a link. `GET /v1/attribution/attempts` lists every attribution attempt, including the ones that found no click, with the reason. Every record has a stable ID and the details of how it matched, so you can check a report against your own numbers, or keep a copy. The MCP server has the same two reads as the `list_installs` and `list_attribution_attempts` tools.

Neither list returns a device identifier. A device ID, a device match key, an IP address and the stored routing payload are never in a response. Where one exists, a boolean such as `has_device_id` says so.

## Authentication and Permissions

Both endpoints use an API key with the `analytics:read` or `links:read` scope. SDK keys are refused with `403 SDK_KEY_ROUTE_FORBIDDEN`, the same as on every other route that is not an SDK endpoint. The rate limit is the same 60 requests a minute per key as the rest of the API.

Retention and the Free plan's look-back apply as they do to the click export. A Free organization reads the last 30 days: a `from` before that is refused with `403 LOOKBACK_EXCEEDED`, and `details.earliest_allowed` is the first instant it may use. A `from` earlier than your plan's data retention is raised to the start of it, and `window.from` in the response shows the window that was read. A window that lies wholly before your retention returns `422 RETENTION_WINDOW_UNAVAILABLE`. Like the click export, these lists keep working when a Free organization reaches its click limit.

## List Installs

GET /installs: List install records

Records are filtered by `installed_at` and returned newest first. Only a matched install has a record. An attempt that matched nothing appears only in the attempts list. `click_id` is null when the match did not carry a click identifier (for example a plain `referrer` match or an older deferred payload).

`id` is the same value the attribution response returned as `install_id`, so you can join a record to the response your app received. `click_id` is the click the install was attributed to. `match_guaranteed` is true for a deterministic match. A reinstall is an install: it has its own record, and `is_reinstall` says whether the device had completed attribution before. The field is empty when the SDK did not say.

`match_method` names how the install was matched: `install_token`, `android_referrer`, `referrer`, `device_id`, `link_open` or `probabilistic`. It is the method the install stored, and the attribution response returns the same value for the same install. `android_referrer` is an invitation token read from the Play install referrer. `referrer` is a plain link ID read from it. `evidence_class` says how firm the match is: `exact`, `estimated`, or `legacy_link`. An `android_referrer` match is `exact`, and a `referrer` match is `legacy_link` because it rests on a link ID alone. An install that stored no method reports `referrer` when the match was deterministic and `probabilistic` when it was not. `replay_state` is always `original`, because a record is the first answer to an installation and a repeat of it is an attempt. `referral_id` is the referral the install was credited as, or null when none was. It joins to [`GET /v1/referrals/{id}`](https://warplink.app/docs/api/referrals#get-a-referral). The installer id is never returned.

`has_matched_payload` says whether the routing the match answered with was stored when the match was made. It is false on records created before we stored it.

## List Attribution Attempts

GET /attribution/attempts: List attribution attempts

An attempt is one request from an SDK asking which click led to an install. It is recorded whether or not it matched, so this list is the denominator of the match rate. `fail_reason` names why an attempt found no click, and `matched` and `match_source` say what a match did:

| `match_source` | Meaning |
|----------------|---------|
| `claim` | The attempt created an install. The number of `claim` attempts equals the number of install records the attribution path created. |
| `replay` | The attempt answered from an install that already existed, for example a retry of the same request. It created no record. |

An attempt also carries `match_method`, `evidence_class` and `replay_state` (`original`, or `replayed` when a repeated token or tap was answered from the first answer). They are null on an unmatched attempt and on attempts before the referral handoff. An attempt names a `match_method` only when it created an install through the referrer, fingerprint or raw strategy: `referrer` for the referrer strategy, and `probabilistic` for the other two. A token attempt always has `match_method` null, and so does a replay and a device ID answer, because an attempt does not store the method or the install it created. To see the method of a token install, read the install record.

Attempts recorded before September 9, 2026 carry no `match_source`. Attempts have no link, so there is no `link_id` filter. A member limited to their own links is refused this list.

The `ip_class` field says whether the request came from a carrier-grade NAT, an IPv4 address or an IPv6 address. It explains many `no_candidates` results, because the address a click was recorded under can differ from the address of the install. The address itself is not stored.

## Paging

Both lists page with an opaque cursor. Send the `next_cursor` of one page as `cursor` on the next request, with the same filters, until `has_more` is false. A cursor is only valid for the list that issued it, and a cursor that is not valid returns `400 CURSOR_INVALID`. Records are ordered by time and ID, so a record added while you page does not move the pages you have not read yet. `limit` is 1 to 500 and defaults to 100.

## Worked Example

```bash
curl "https://api.warplink.app/v1/installs?from=2026-10-01T00:00:00Z&to=2026-11-01T00:00:00Z&limit=500" \
  -H "Authorization: Bearer wl_live_YOUR_API_KEY"
```

Read the next page by passing the cursor from the response:

```bash
curl "https://api.warplink.app/v1/installs?from=2026-10-01T00:00:00Z&to=2026-11-01T00:00:00Z&limit=500&cursor=NEXT_CURSOR" \
  -H "Authorization: Bearer wl_live_YOUR_API_KEY"
```

See why attempts in October found no click:

```bash
curl "https://api.warplink.app/v1/attribution/attempts?matched=false&from=2026-10-01T00:00:00Z&to=2026-11-01T00:00:00Z" \
  -H "Authorization: Bearer wl_live_YOUR_API_KEY"
```
