Volume Owner Callback
This document describes how volume owner use the callback API to notify and return data to OpenAD Protocol.
API Callback URL
https://bf2055756e.srv.openad.network/v1/getInfo/tgId
Callback Method
POST
Prevent malicious and frequent interface calls by limiting each API key to a maximum of 100 interface calls per minute.
Request
{
"zone_id"=159,
"event_id"=158
"access_key": "your_access_key", //When you need to access this API, please ask us for the key.
"sign": "request_signature", //zone_id-event_id-line_id-access_key-once,sha256 HMAC signing with these 5 parameters
"once": "unique_request_id", //random string
"tg_id": "tg_id" // User telegram id
}
Response
{
count: 1 // The number of times this user clicked on ads on the same day.
}
Last updated