Guide Book
  • Welcome to TaskOn
    • Onepage
    • Data
    • Deck
    • Demo
    • Contact
    • Spotlights
  • How to Enter TaskOn Community Hub
    • How to Log In
    • How to Log Out
    • Login Error Solutions
  • Getting Started
    • How to Create Your Community?
    • Verified Community
    • How to Edit
      • Settings
      • Announcement
      • Set Community Private
      • dApp Integration
    • Share Your Community
    • How to Create Community Tasks
      • Task Sector
      • Task Templates
        • Daily Connect
        • Invite Tasks
        • On-chain Tasks
        • PoW Tasks
        • Smart Tasks
        • API Task
      • How to Create Tasks
        • Step1: Basic Task Settings
        • Step2: Reward Settings
        • Step3: Extra Settings
      • How to Test Tasks
      • How to Edit Tasks
      • How to Publish Tasks
      • Task List
        • Task Status
        • How to Change Task Status
    • How to Create Quest
      • Step1: Basic Info
      • Step2: Rewards Settings
      • Step3: Task
      • Step 4: Eligibility
      • Reviews
      • Leaderboard
  • Quest Hub
    • How to Create a Quest
      • Step1: Basic Info
      • Step2: Rewards Settings
      • Step3: Task
      • Step 4: Eligibility
      • Reviews
      • Leaderboard
    • How to Create an Event
      • Step 1: Basic Info
      • Step 2: Rewards Settings
      • Step 3: Add Quests
    • How to Create Referral
    • How to Use Sharing System
    • Gas Station
      • How to Top Up Your Gas Balance
      • How to Calculate Gas Fee
      • How to Create Gas Free Quests/Events
  • Boost Hub
  • How to apply for your boost
  • Analytics
    • Analytics Dashboard
  • Task Review
  • Community Hub
    • Task System
      • Task Sector
      • Task Templates
        • Daily Connect
        • Invite Tasks
        • On-chain Tasks
        • PoW Tasks
        • Smart Tasks
        • API Task
          • TaskOn Performance-Based API Verification Guide
      • How to Create Tasks
        • Step1: Basic Task Settings
        • Step2: Reward Settings
        • Step3: Extra Settings
      • How to Test Tasks
      • How to Edit Tasks
      • How to Publish Tasks
      • Task List
        • Task Status
        • How to Change Task Status
    • Leaderboard
    • Incentives/Benefits
      • Incentives
      • Benefit Shop
        • Benefit Type
          • Token
          • NFT
          • Discord Role
          • Whitelist
          • Content
          • Promote Code
          • Ticket
        • Manage Your Benefit Shop
    • Member List
    • Level Settings: Points-based Level System
      • Step 1: Define
      • Step 2: Default Task Points
      • Step 3: Set Levels
      • Management
    • Bot Integration
      • Discord Integration
        • Discord Channel & Alert
        • How to Add TaskOn Discord Bot
      • Telegram Integration
        • How to Add TaskOn Telegram Bot
        • Telegram Mini App
    • dApp Integration
      • How to Configure Your Custom Domain
      • How to Customize your Community Theme
    • Announcement
  • Tools
    • NFT Collections
    • Distribution Management
    • Airdrop
      • How to create an Airdrop plan
        • Step by step tutorial
    • Airdrop Tools
  • Telegram Mini App
  • Page
  • Billing and Plans
    • Usage
    • How to apply for your boost
    • Featured
    • Boost
    • Payment & Renew
    • Your Plan Details
    • FAQ
  • Assets
  • Referral Program
  • FAQ
    • About TaskOn
    • About TaskOn GTC (Go-to-Community)
    • Value of TaskOn
    • Introducing GTC Services
  • Glossary
  • What's New
    • v.1.9.3
    • v1.9.0
    • v 1.8.0
    • v1.7.9
    • v1.7.8
    • v1.7.7
    • v1.7.6
  • Press Kit
Powered by GitBook
On this page
  • Overview
  • Integration Guide
  • Task Configuration Steps
  • How it works
  1. Community Hub
  2. Task System
  3. Task Templates
  4. API Task

TaskOn Performance-Based API Verification Guide

PreviousAPI TaskNextHow to Create Tasks

Last updated 4 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