Business Entity Hub
  • Welcome to TaskOn
    • One Page
    • Deck
    • Demo
    • Data
    • Contact Us
    • Keywords
  • Quest
    • Create a Quest
    • Publish a Test Quest
    • Publish a Quest
    • Share Quests/Events
    • Finish Quests/Events
      • Deposit Rewards
      • Review PoW
      • Upload Qualifiers
      • Upload Winners
      • Distribute Rewards
  • How to Create Your Community
    • Verified Community
    • How to Edit
      • Settings
      • Announcement
      • Set Community Private
      • dApp Integration
    • Share Your Community
  • Community Hub
    • Task Sector
    • Task Templates
      • Daily Connect
      • Invite Tasks
      • On-Chain Tasks
      • PoW Tasks
      • Smart Tasks
      • API-Verified Task Template
      • API Tasks
        • TaskOn Performance-Based API Verification Guide
    • How to Create Tasks
    • Benefit Shop
      • Benefit Type
      • Token
      • NFT
      • Discord Role
      • Whitelist
      • Content
      • Promote Code
      • Ticket
    • Manage Your Benefit Shop
    • Incentive
    • Level Settings: Points-based Level System
      • Step 1: Define
      • Step 2: Default Task Points
      • Step 3: Set Levels
      • Management
  • Tools
    • Airdrop
      • How to create an Airdrop plan
    • Gas Station
      • How to Top Up Your Gas Balance
      • How to Calculate Gas Fee
      • How to Create Gas Free Campaigns/Events
      • Where to Check the Gas Balance
    • Leaderboard
    • Loyalty Program
    • Referral Function
    • Mint NFT
  • Boost Hub
  • Analytics
  • Referral Program
  • Function Cooperation
    • Discord Bot Setting
      • How to Set Up Permissions
    • Discord Role Invitation
      • How to Get Role ID and Role Name on Discord
    • Telegram Bot Setting
  • Assets
  • What's New
    • v1.7.6
    • v1.7.4
    • v1.7.2
    • v1.7.1
    • v1.7.0
    • v1.6.8
    • v1.6.7
    • v1.6.6
    • v1.6.5
    • v1.6.4
    • v1.6.3
    • v1.6.2
    • v1.6.1
    • v1.6.0
    • v1.5.0
  • Case Study
    • Festival Marketing
      • Valentine’s Day Epic
      • 2023 Christmas Epic
        • How to Design Your Festival Campaign?
        • How to Gain More Exposure?
        • Christmas Epic Highlights
      • 2022 Christmas Joint Campaign
    • Community Growth
      • How to Build a Thriving and Growing Community
        • Build and Expand Your Discord Community
        • Build and Expand Your Telegram Community
    • Brand Influence
      • A Comprehensive Guide to Elevating Brand Influence on Twitter with TaskOn
      • Brand Exposure
    • Social Media & Community Growth Case
    • Maximize Your Project's Potential through TaskOn
    • Classic Cases
    • NFT Mint
    • DeFi Trading
  • Press Kit
  • FAQ
    • About TaskOn
    • About TaskOn GTC (Go-to-Community)
    • Value of TaskOn
    • Introducing GTC Services
  • Glossary
Powered by GitBook
On this page
  • Overview
  • Integration Guide
  • Task Configuration Steps
  • How it works
  1. Community Hub
  2. Task Templates
  3. API Tasks

TaskOn Performance-Based API Verification Guide

PreviousAPI TasksNextHow to Create Tasks

Last updated 2 months ago

Overview

This task template is ideal for trading competitions, allowing you to sync points to TaskOn. For example, users with higher trading volume can earn more points, motivating them to strive for greater achievements.The system supports two types of user identifiers:

1.1 Supported ID Types

  1. Social Media Account ID

    1. Twitter handle (e.g., taskonxyz)

    2. Discord ID (e.g., 1084460817220641111)

    3. Telegram ID (e.g., 6881505111)

    4. Email Address (e.g., )

  2. Blockchain Wallet Address

    1. Supported chains: EVM, Solana, Starknet, Sui, Tron, BTC, Aptos, Nibiru

Integration Guide

2.1 Quick Start

  • Demo project:

  • Features:

    • One-click Vercel deployment

    • Ready-to-use application template

    • Complete integration example

2.2 API Specifications

Endpoint

GET https://<domain>/<serverpath>?address=<identifier>

Response Format

{ "result": { "point": 100 // Indicates task completion result } }

Important Notes

  • All API endpoints must be publicly accessible

  • Optional bearer token support for TaskOn-exclusive access

  • All identifiers are converted to lowercase for consistency

  • Always return HTTP 200 status code

  • Use point integer to indicate task completion result

2.3 Example Request

GET <https://your-app.vercel.app/api/task/verification?address=0xd5045deea369d64ab7efab41ad18b82eeabcdefg>

Task Configuration Steps

3.1. Slect API Task

  • Go to the TaskOn dashboard and click on the "API Task" tab.

  • Click on the "Performance-Based Task" button.

3.2 Click on the "Set API URL" button.

3. Fill the api url

  • URL: If you use this repo and vercel, it shoud be like this: https://xxx.vercel.app/api/task/verification

  • [Optional] Bearer Token: Enable this to restrict API access to TaskOn only.

4. Verify Configuration & Confirm Your Settings

  • Purpose: Ensure everything works smoothly.

  • Provide: User ID that has points reward

After verification, it's all done.

How it works

From the user side, users need to manually claim points for the first task completion. Afterward, points can be updated automatically via API when users click the refresh button.

You can also manually upload points to update user data as needed.

abc@gmail.com
https://github.com/Taskon-xyz/taskon-verification-demo