Community Guide
Product Guide
Product Guide
  • Getting Started
    • 👋Welcome to Intract
      • Why Intract?
    • 👷Set up your Community Hub
    • 🏡Community Hub Overview
  • Community Hub Guides
    • 🎯Quests
      • What are Quests?
      • Launching your Quests
        • Setting up Tasks
          • Understanding Task Features
          • How to implement On-Chain Tasks
          • How to Implement Proof of Humanity Tasks
        • Setting up Rewards
          • Submitting Tokens for Automatic Distribution
          • Adding Custom Token as Reward
          • Volume Based XPs
      • Managing Your Quests
        • Campaign Analytics
          • Loyalty Quest Analytics
        • Approving PoW Tasks
    • 🏆Leaderboard
    • 💕Loyalty Program
      • Setting up Tasks
    • 📅Events
      • Creating Events
    • 🎊Reward Store
      • Reward Store - Analytics
    • ⚙️Community Settings
    • 🤖Integrations
      • Discord
      • Telegram
    • 🤳KOLs Marketplace
  • Tools Guides
    • 📖Your Contracts
      • NFT Rewards Contracts
      • Imported Tokens
      • Imported Contracts
    • ⛓️Integrate APIs
      • 🧑‍💻For Devs
    • 🔧API Tokens
    • 🧙‍♂️Dave: No Code Task Verification
      • Understanding and Creating Actions
      • Understanding and Creating Queries
  • Resources
    • 💼Case Studies
    • 🦚Best Practices
    • 🎨Brand Kit
    • 📞Contact Us
Powered by GitBook
On this page
  • 1. We have a few APIs that you can call to get the following details:
  • 2. Integration Steps:
  • 3. API Token Usage:
  1. Tools Guides

API Tokens

PreviousFor DevsNextDave: No Code Task Verification

Last updated 6 months ago

1. We have a few APIs that you can call to get the following details:

  • A list of users who have claimed reward in a campaign

  • A list of users who have won rewards in a campaign

  • A list of all participants in a campaign

  • Details for a particular user given their userID

  • Returns the enterprise leaderboard.

  • Details for your enterprise

  • Details of your campaign

  • A list of all campaigns created by your enterprise

2. Integration Steps:

  1. You will first have to generate an Auth Token from the intract dashboard.

  2. Remember to copy the token key that is displayed because you will not be able to see it again.

  3. Then you have to just import your cURL by your prefered method and call it.

3. API Token Usage:

To access our APIs, you need to include the generated token in the request headers as a Bearer token.

Example: If your generated token is xxxxxxxx, you should set it as follows:

Header:

Authorization: Bearer xxxxxxxx

Make sure to replace xxxxxxxx with your actual token. Sample Request: Here’s an example of how to include the Bearer token in a request using curl:

curl -X GET "" \
     -H "Authorization: Bearer xxxxxxxx"

This header is required for each API request to authenticate your access. The API will respond with an authentication error if the token is missing or invalid.

If you do not know how to do all of this semi-techy stuff you can Congratulations! You’ve successfully fetched the data you need.

🔧
⬆️
Here are the APIs
watch this video.