get
https://example.com
POST /v2/campaigns/{campaignId}/track/click — Track campaign click
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Records a click event when a patient interacts with a campaign placement. This is a public endpoint — no authentication required.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
placement | string | Yes | Placement slot where the click occurred |
affiliateId | string | Yes | Affiliate the campaign belongs to |
patientId | string | No | Patient who clicked (omit for anonymous) |
clickDestination | string | No | URL or destination the patient was directed to |
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.
