Individual Links

Generate individual links to distribute each digital passport.

Before you begin

The individual links are ideal when brands want to distribute distinct digital passport links or QR codes to each user. Once a customer lands on this link or scans the QR code, the digital passport will be reserved for this customer to avoid a disappointing claiming experience.

These individual links are ideal for distributing digital passports as a gift after purchase for example that is sent via email. Each digital passport is associated with its link which makes your distribution more secure and limits the potential farming of the pool of digital passports.

Use case example: Your brand wishes to send a digital passport as a gift after a purchase for customers.

⚠️

  • When a user scans a code or clicks an individual link, but does not necessarily request the ownership of the digital passport. The digital passport is removed from the pool of digital passport to be distributed. This is secure the claiming experience of each user.
  • In the case of many digital passports that have been scanned but not claimed, you can reset digital passports to make them available for distribution again.
  • You must trigger an API call per digital passport. Example, if you need to generate 50 individual links, the API must be called 50 times.

Let's start πŸš€

To distribute your digital passports, use the dispenser/distribution/reserveOne.

πŸ“Œ

The API is authenticated with the user rights required β†’ certCreate

ParameterTypeMandatoryDescription
tagsStringβœ…Tags to pickup a digital passport and reserve it. Can be 1 tag or a list of tags (see how to format query params array - separated by comma for example)
formatlink, linkObject, βœ…β†’ link: returns text plain link such as https://arianee.net/nftId,passphrase
β†’ linkObject: returns link as .json object

Result:

httpCodeDescription
200The digital passport is reserved and the deeplink to claim the digital passport is returned.
400β†’ Your tag may not exist.
β†’ There is no available digital passport to distribute.
// linkObject return

{
    "method": "requestOwnership",
    "certificateId": 440105186,
    "passphrase": "v6lsj4vhg5dx",
    "deeplink": {
				"certificateId": 440105186,
        "passphrase": "v6lsj4vhg5dx",
        "link": "https://test.arianee.net/440105186,v6lsj4vhg5dx"
					}
}
// link return

https://test.arianee.net/440105186,v6lsj4vhg5dx
{
    "name": "API Error",
    "description": "No NFT found to distribute",
    "code": "nmp.back.dispenser.oneToOne.noNFTsToSend",
    "httpCode": 400
}