Ads3Ads3
How Ad Network Works
Advertiser
Publisher
Quest
  • Telegram
  • Twitter
  • Discord
  • Press Kit
  • English
  • 简体中文
How Ad Network Works
Advertiser
Publisher
Quest
  • Telegram
  • Twitter
  • Discord
  • Press Kit
  • English
  • 简体中文
  • Use Case

    • How to Increase Community Engagement
    • How to Increase Community Users
    • How to Improve Project's On-chain Activity
    • Use Cases
  • Quest

    • Create Quest
    • Preview Quest
    • Promote Quest
    • Eligibility
    • Quest Analysis
    • Rewards
    • Tasks
    • FAQ
  • Tutorials

    • Add TonAIBot to Your Telegram Group
    • Add TonAIBot to Your Telegram Channel
    • Add TonAIBot to Your Discord Server
    • User Conversion Verification API

User Conversion Verification API

Tips

This feature is currently only available to select users.

Overview

Advertisers provide an API to verify whether a user has successfully converted to their product.

Ads3 will request the advertiser's API with the user’s Telegram ID for verification, and the API will return a string indicating the verification result.

Request Method

GET

Request Parameters

ParameterTypeRequiredDescription
telegram_idstringYesThe user's Telegram ID

Return Value

The return value is a string indicating the verification result:

  • "true": Verification successful
  • "false": Verification failed

Examples

Successful Verification Example

curl --location 'https://app.pea.ai/api/v1/common/verify/example/success' \
--header 'Content-Type: application/json' \
--data '{"telegram_id": "123456789"}'

Return Result:

"true"

Verification Failure Example

curl --location 'https://app.pea.ai/api/v1/common/verify/example/fail' \
--header 'Content-Type: application/json' \
--data '{"telegram_id": "987654321"}'

Return Result:

"false"

How to Develop This API

If you need to verify whether a user has logged into your application, you should record the user's login information and Telegram ID. Then, develop this API to return whether the user has logged in.

How to Submit API

Please contact us via Telegram and provide your API endpoint.

Prev
Add TonAIBot to Your Discord Server