Blaze
  • Overview
    • Overview of workflows
  • Fundamentals
    • Getting set up
      • Access controls
      • Invite your team
      • Integrations
      • Custom Bot
    • Team and workspace settings
      • For workspace owners
      • For collaborators
    • FAQ
      • Subscription & Pricing
      • Workspace Settings
      • Lead Generation
      • Campaigns and Outreach
      • Forms and Rewards
  • Product Guides
    • Lead Gen and Segments
      • Segment Types
        • Saved segments
        • Curated segments
        • Community Segments
        • Uploaded Segments
      • How to filter segments
        • Twitter Audience filters
        • LinkedIn Audience filters
        • Telegram Audience filters
        • Wallet Audience filters
      • How to upload segments
        • Upload CSV
        • Paste URLs
      • How to create a lead list using Find Leads feature
      • Use Social Search to find leads or trending content
        • Twitter Social Search
          • X Post Search
          • X Account Followers
          • X Spaces Listeners
        • LinkedIn Social Search
          • LinkedIn Post Authors
          • LinkedIn Post Reactor/Commentor
      • How to use Segment Wizard to build lead lists instantly
      • How to generate a lead list or segment of wallets using Wallet CRM
        • How to refine & create a segment of wallets
        • Reach out to Wallet CRM leads
      • How to split a segment into multiple subsegments for A/B testing
      • Capture leads and sign ups with Forms
        • Create and share a form
        • View form responses
        • Embed a form on your website
        • Auto-send forms to new Discord users
    • DM Campaigns and Marketing Automation
      • Run multi-step DM campaigns
      • AI Personalization
      • AI Replies (Coming Soon)
      • Start Ad Campaigns using Blaze
      • Unified Inbox
      • Manage Discord Campaigns and DMs
        • Discord DM Users
      • Rewards, Social Referrals and Quests
        • Create a Rewards Campaign
          • Available Actions
          • Edit campaign
        • Share quest page and track performance
        • Distribute Rewards
      • Run campaigns via XMTP Wallet Messaging
      • Distribute Airdrops to on-chain leads
      • Distribute NFTs to your users
    • Social Media Management - Twitter
      • Post and Schedule Tweets
      • Post and Schedule Farcaster Casts
      • Post Library
      • Top Performing Tweets
      • Twitter Analytics
        • Understand Twitter growth and engagement
    • Discord Analytics
      • Comprehensive Overview of your Discord Community
      • Create Discord Custom Report of your community
      • Find Sentiment of Discord Community
      • Analyze Engagement rate of your Discord Members
      • Find Topics discussed by your Discord Community
      • Product Feedback + User Insights
        • Messages
        • Message Explorer
        • Trend Explorer
        • Collect feedback with forms
        • Invite Attribution
      • Measure cross-platform marketing campaigns
    • Wallet metrics glossary
    • KOL Index
    • Cross Platform Analytics
      • Create and analyze a Twitter campaign
  • Blaze API
    • Getting started
      • Set up the Zapier integration
      • Set up API access
    • Data API
      • Active Users
      • Price
      • New users
      • Transaction Count
      • Market Cap
      • Transaction Fees
      • Official Account Metrics
      • Community Mentions Metrics
      • Retention Metrics
    • Community API
      • Ping
      • Member Details
      • Member Activity
      • Members Activity By Id
      • Discord Messages
      • Invite Attributions
    • CRM and Rewards API
      • Overview
        • Schema
        • Transaction Operations
      • Create User
      • Update User
      • Delete User
      • Create Transaction
      • Retrieve Transactions
      • Update Transaction
      • Delete Transaction
      • Leaderboard
      • Tasks and User Completion
    • Wallet Intelligence and Identity API
      • Wallet Holdings
      • Smart Contract Interactions
      • Average Token Hold Time
      • Wallet Traits
      • Wallet Scores
      • Wallet Socials
      • Token Holders
  • Get in touch
    • Support
    • Feedback
Powered by GitBook
On this page
  • GraphQL Query
  • Variables
  • Response
  • Examples

Was this helpful?

  1. Blaze API
  2. CRM and Rewards API

Tasks and User Completion

GraphQL Endpoint to fetch the tasks of a quest and completion status for any quest participant.

GraphQL Query

query Tasks($activityTrackerId: Int!, $active: Boolean,  $identityType: String, $identityId: String) {
  tasks(
        activityTrackerId: $activityTrackerId,
        active: $active,
        identityType: $identityType,
        identityId: $identityId
    ) {
        activityTrackerId
        tasks {
            taskId 
            name
            subText
            taskPoints
            startDate
            expiryDate
            additionalInfo
            completed
            userPoints
        }
  }
}

Variables

{
   "activityTrackerId": 300,
   "active": false,
   "identityType": "TWITTER_USERNAME",
   "identityId": "blaze_ai"
}

Response

{
    "data": {
        "tasks": {
            "activityTrackerId": 304,
            "tasks": [
                {
                    "taskId": "quest_onboarding_form",
                    "name": "Quest Onboarding Form",
                    "subText": "Award points to users who fill the Quest Onboarding Form",
                    "taskPoints": 0,
                    "startDate": null,
                    "expiryDate": null,
                    "additionalInfo": "{'formUniqueId': '3655f6f3655d67ac723470e4e2eb1d5e'}",
                    "completed": false,
                    "userPoints": 0
                },
                {
                    "taskId": "twitter_follow_account",
                    "name": "Follow Account",
                    "subText": "Award points to users who follow the selected Twitter account",
                    "taskPoints": 100,
                    "startDate": null,
                    "expiryDate": null,
                    "additionalInfo": null,
                    "completed": false,
                    "userPoints": 100
                }
            ]
        }
    }
}
```

Examples

POST https://dashboard.withblaze.app/api/graphql-api

Query Parameters

Name
Type
Description

activityTrackerId*

Int

Required: Activity tracker id

If the Activity tracker id is not specified, then the request will throw an error

active

Boolean

If true, return tasks which are currently active on that day, else returns all tasks

identityType

Enum

Can have one of the following values WALLET, TWITTER_ID, DISCORD_ID, EMAIL, TWITTER_USERNAME, DISCORD_USERNAME

identityId

String

id of the corresponding identityType

Headers

Name
Type
Description

x-api-key*

API-KEY

Your Blaze API Key

PreviousLeaderboardNextWallet Intelligence and Identity API

Last updated 1 year ago

Was this helpful?