Snag Docs logo

Upsert minting allowlist entries

Create or update allowlist entries for a minting contract asset (max 25 entries per request).

POSThttps://admin.snagsolutions.io/api/minting/assets/allowlist

Create or update allowlist entries for a minting contract asset (max 25 entries per request). If an entry already exists, it will be updated with the new quantity.

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Body

Body

mintingContractAssetIdstring<uuid>required
entriesarray<object>required

Allowlist entries (max 25 per request)

Required array length: 1 - 25 elements
entries.walletAddressstringrequired
entries.quantityintegerrequired
Required range: x >= 1

Response

application/json

200

createdCountintegerrequired
mintingContractAssetIdstring<uuid>required