Server-to-server integration
We need to pass two variables — {publisher} and {clickid} — into the "start" or "startapp" parameter of the referral link that leads to your app/bot.
The link can have any type, the main thing is that you can extract {publisher} and {clickid} variables from it.
Link examples:
{clickid} is filled on our side and contains a string of numbers up to 50 characters long.
{publisher} is also filled on our side and contains the ID of the specific platform from which the traffic is coming.
Example:
When the target event occurs, you must call a postback (HTTP GET) to the address:
{PUBLISHER} — the value we provided to you in {publisher} within the startapp field.
{CLICKID} — the value we provided to you in {clickid} within the startapp field.
{ADVERT_ID} — a unique identifier we issue to you when registering a personal account.
{OFFER_ID} — a unique identifier we issue to you when creating an offer.
{TELEGRAM_ID} — the telegram ID of the user, filled by the advertiser when the user completes an offer.
{STARTAPP} — the entire referral tail that we provided to you in startapp= (filled by the advertiser).
{IS_OLD} — filled by the advertiser, where is_old = true if the user has already been in your app / the conversion has already occurred. is_old = false if it is a new user. Payment will only be made for new users, but we need to receive postbacks for all.
Last updated