get
https://example.com
POST /v2/campaigns/{campaignId}/track/impression — Track campaign impression
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Records an impression event when a campaign placement is displayed to a patient. This is a public endpoint — no authentication required.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
placement | string | Yes | Placement slot where the impression occurred |
affiliateId | string | Yes | Affiliate the campaign belongs to |
patientId | string | No | Patient who saw the campaign (omit for anonymous) |
Errors
| Status | Code | Description |
|---|---|---|
| 400 | campaign_not_live | Campaign exists but is not currently live — tracking is only accepted for live campaigns |
| 404 | entity_not_found | Campaign not found for the given affiliateId |
Authentication
None required. This endpoint is intentionally public so it can be called from patient-facing surfaces.
