redirects
Record a client-side affiliate link click
Writes one component_click_events row (resolved_country: universal; User-Agent and Referer truncated to 255 characters). Development short-circuit: with NODE_ENV=development the handler answers { ok: true } before reading the body, so nothing is validated or recorded. Bot user agents, a failed PocketBase admin login, a malformed JSON body and any server error also answer 200 { ok: true } without recording.
post/api/affiliate-click
Request
- Base URL: https://voltplan.app
- URL: https://voltplan.app/api/affiliate-click
- Auth: none declared
Request body
Response
Accepted (also returned whenever recording is skipped or fails).
Changes
No recorded changes to this operation across all 1 revision of this API.