MintGate Docs
  • Welcome to MintGate
  • Whitelabel Storefront
    • Create a White label Storefront
  • Create your Project
    • Create a Project on MintGate
    • Promoter Payouts
  • CREATORS
    • PODCAST 🎙️
    • FILM & VIDEO 📽️
    • MUSIC 🎵
    • EDUCATORS 🧑‍🏫
    • WRITERS 📰
    • And more..
  • Direct Integrations
    • Direct Integrations
    • Video SDK
    • Link Creation Widget or API
      • Other Widgets
    • Data APIs
    • Custom Link Features
      • One-Time Link Access
  • Updating MintGate
    • Updating Links + Data
    • Customizing Your Storefront
Powered by GitBook
On this page
  • Use Case Example
  • How It Works

Was this helpful?

  1. Direct Integrations
  2. Custom Link Features

One-Time Link Access

Wallets who own the token can access the link only once

PreviousCustom Link FeaturesNextUpdating Links + Data

Last updated 3 years ago

Was this helpful?

With custom development, you can limit access to a token gated link to once per wallet address.

Use Case Example

An NFT project gates a physical item redeem page on their website using an NFT in their collection and needs to prevent a wallet from continuously accessing the redeem page to redeem the physical item multiple times.

How It Works

API Keys

  1. Create or log in to your MintGate account at .

  2. You can access developer Widget keys or at

The original token gated web content is a site that you must have control of. You must implement both the Has Access and Burn Link Access APIs to lock access to a link to once per wallet address.

Check If User Has Accessed The Link Before

Link to API documentation:

  • You create a MintGate token gated link with a site page that you have control over.

  • Once a user accesses the token gated link to your site page, it will pass a mgsession parameter which is the identifier for that access instance.

    • You must pass the mgsession parameter to the endpoint.

  • The endpoint will return a json { locked: true | false }

    • locked: true - The wallet address has accessed the link at least once

    • locked: false - The wallet address is accessing the link for the first time

Limit Access to One Per Wallet

  • To prevent the wallet from access again, you must integrate this endpoint in lieu of the Has Access API.

  • You must pass the mgsession parameter that is passed to the page when the user visits and your API key.

Link to API documentation:

If you have any questions, message us on Discord at or email us at support@mintgate.io.

https://mintgate.app
here
https://www.mintgate.app/token_api
https://mgate.io/docs/#/default/HasAccess
https://mgate.io/docs/#/default/BurnLinkAccess
discord.gg/HVsbWZfrFQ