Skip to main content
POST
Register click

Endpoint

Records a click on a partner’s referral link. Registered clicks appear in the partner’s click count, referral link clicks, the Click activity report, and the partner portal. Use this endpoint when you track referrals without the PartneroJS snippet — for example a server-to-server integration, a mobile app, or a site using postback URL tracking. PartneroJS counts clicks automatically, so you don’t need this endpoint if the snippet is installed.
Clicks are only counted by PartneroJS or this endpoint. Referral link redirects through a tracking domain and the keyless click registration endpoint (/pub/v1/s2s/clicks/{pub_id}) generate a postback click ID, but they don’t add to click statistics. If you rely on either of them without PartneroJS, call this endpoint as well.

Request body

Request

cURL

Response

Clicks are processed in the background, so the response is always {"status": 1} once the request is accepted — including when the referral key doesn’t match a partner, or url is missing or invalid. Those clicks are silently discarded. Processed clicks usually appear in statistics within a minute.

Usage notes

  • Call it once per referred landing, not on every page view. Each request counts as one click; there is no deduplication.
  • Only call it for referred visits — when the landing URL contains your program’s referral parameter.
  • Call it from your backend. The endpoint requires your secret API key, which must never be exposed in browser or mobile code.
Registering a click doesn’t attribute anything by itself. You still need to store the referral key and send it with Create customer at sign-up, or send the click ID in a postback.