LogoLogo
$THX tokenDiscord Community
  • THX Network
  • 🏗️Campaign Managers
    • Getting Started
    • Analytics
    • Quests
      • Daily Quests
      • Invite Quests
      • Twitter Quests
      • Discord Quests
      • Custom Quests
      • Web3 Quests
      • Webhook Quests
      • Steam Quests
      • Quest Locks
    • Rewards
      • Coin Rewards
      • NFT Rewards
      • Custom Rewards
      • Coupon Rewards
      • Discord Role Rewards
    • Participants
    • Integrations
      • Discord
      • Twitter, now X
      • Gitcoin Passport
    • Coins
    • NFT
  • 🧑‍🤝‍🧑USERS
    • Memberships (Free)
    • Lottery (Free)
  • 💡FAQ
    • Pricing
    • Multi Wallet Account
    • Points
    • Other
  • 💻Developers
    • HTML Widget
    • JS SDK
      • Identity
      • Events
    • API
      • API Specification
      • Example
    • Webhooks
    • QR codes
    • Audits
  • 🪙Tokenomics
    • $THX
    • Locking $THX to $veTHX
    • Increasing Locked $veTHX
    • Protocol
    • Token Distribution
  • 🤝ABOUT
    • Team
    • One Pager
    • Community
Powered by GitBook
On this page

Was this helpful?

  1. Developers

API

Using the API keys and an OAuth2 grant you will be able to access API resources for your campaign.

Last updated 7 months ago

Was this helpful?

The resources are currently limited to the ones exposed in the JS SDK. If you require an SDK for a specific language or need direct access to THX please contact the team through .

HTTP

Since HTTP is language agnostic you can use an HTTP client in your language of choice to access the API. It's not as easy as using our SDK, but if you are familiar with making HTTP requests this should be doable.

Authorization

First of all you'd need to authorize your app with our API. For that you need to register an API client in Campaign -> Developer -> API Keys. Make sure to choose the client_credentials grant.

API Specification

After obtaining your access_token you can use it to make authorized requests to our REST API. Inspect the API spec for providing Custom Quests with event requirements.

💻
API Specification
Discord
https://discord.com/invite/u3DruB5pm5