Task3
How It Works
  • Quest Platform
  • Telegram MiniAPP
  • Line MiniAPP
User Guide
  • Telegram
  • Twitter
  • Discord
  • Press Kit
  • English
  • 简体中文
How It Works
  • Quest Platform
  • Telegram MiniAPP
  • Line MiniAPP
User Guide
  • Telegram
  • Twitter
  • Discord
  • Press Kit
  • English
  • 简体中文
  • Overview
  • User Cases

    • How to Boost Community Engagement
    • How to Grow Your Community User Base
    • How to Boost On-Chain Activity for Your Project
  • User Guide

    • Quest Types
    • Creating a Lucky Draw
    • Creating Lucky Money
    • Creating an FCFS Quest
    • Supported Tasks in Quest
    • Quest Eligibility
    • Quest Rewards
    • Quest Analytics
    • Add Task3Bot to Discord Server
    • Add Task3Bot to Telegram Channel/Group
  • Technical & Integration

    • Custom Task Verification API
    • Integration Task Verification JS
  • FAQ

Custom Task Verification API

Tips

This feature is currently available to selected users only.

Overview

Advertisers provide an API to verify if users have successfully converted to their product.

Task3 will use the user's Telegram ID to call the advertiser's API for verification. The API returns a string indicating the verification result.

Request Method

GET

Request Parameters

ParameterTypeRequiredDescription
telegram_idstringYesUser's Telegram ID

Response

Returns a verification result string:

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

Examples

Successful Verification

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

Response:

"true"

Failed Verification

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

Response:

"false"

API Development Guide

To verify if users have logged into your app:

  1. Record user login information with their Telegram ID
  2. Implement this API to return login status

Submit Your API

Contact us via Telegram and provide your API endpoint.

Last Updated:
Contributors: nick
Next
Integration Task Verification JS