Send POST (or GET) with click_id and your API key. We forward the conversion to the tracker.
click_idWhen a user lands from the ad, the URL includes a click id (query param such as click_id / subid). Example:
https://your-site.com/?click_id=abc123xyz
You must read and store it (cookie or database) as soon as the user arrives — registration or deposit may happen later when the param is gone from the URL. On conversion, send the stored value to the API below.
click_id from the URL.click_id here with the correct API key.The endpoint URL and API key for registration and deposit will be provided separately. Do not hard-code placeholders — replace them with the values we send you.
Send as header X-Api-Key (preferred), or as body/query field api_key. Bearer token also works.
| Field | Required | Type | Description |
|---|---|---|---|
click_id | Required | string | Click id from the ad landing URL. |
fetch("YOUR_REGISTRATION_ENDPOINT", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Api-Key": "YOUR_REGISTRATION_API_KEY"
},
body: JSON.stringify({
click_id: "abc123xyz"
})
});
curl -X POST "YOUR_REGISTRATION_ENDPOINT" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_REGISTRATION_API_KEY" \
-d '{"click_id":"abc123xyz"}'
Registration and deposit use different keys. Wrong or missing key returns 401 UNAUTHORIZED.
| Field | Required | Type | Description |
|---|---|---|---|
click_id | Required | string | Same click id stored at landing. |
fetch("YOUR_DEPOSIT_ENDPOINT", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Api-Key": "YOUR_DEPOSIT_API_KEY"
},
body: JSON.stringify({
click_id: "abc123xyz"
})
});
curl -X POST "YOUR_DEPOSIT_ENDPOINT" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_DEPOSIT_API_KEY" \
-d '{"click_id":"abc123xyz"}'
| HTTP | code | Meaning |
|---|---|---|
| 200 | OK | Postback sent successfully. |
| 200 | ALREADY_SENT | Same click_id already reported for this event (safe to ignore). |
| 400 | CLICK_ID_REQUIRED | Missing click_id. |
| 401 | UNAUTHORIZED | Invalid or missing API key. |
| 502 | PROVIDER_ERROR | Upstream tracker failed — retry later. |
{
"success": true,
"code": "OK",
"message": "Registration postback sent",
"request_id": "…",
"click_id": "abc123xyz"
}