---
title: "Activation Event"
method: POST
path: "/api/referral/activation-event"
tags: ["referral"]
---

# Activation Event

`POST /api/referral/activation-event`

## Request

- Base URL: `https://api.equity-rank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equity-rank.com/api/referral/activation-event`
- Auth: HTTP bearer

Record an ACT-03 activation event server-side (survives ad-blockers).

On 'initiated', also tag the AUTHENTICATED caller's unredeemed referral row
source='activation_trigger' — this inviter-row PATCH is the AUTHORITATIVE
K-factor attribution. The deep-link's `er_src=activation` marker (Plan 01) is
a secondary, forward-compat signal only and is NOT relied on here.

Body: {"event": "shown" | "initiated"}. user_id comes from the verified
session (get_current_user), never the body — the body's only field is the
event name, validated against a fixed allowlist (T-32-07 / T-32-08).

## Request body

- ActivationEventRequest
  - `event` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
