POST
/
v1
/
collections
/
airdrop
curl --request POST \
  --url https://dev.api.mufi.app/v1/collections/airdrop \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "collectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "users": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ],
  "usersByReferenceId": [
    "<string>"
  ],
  "emails": [
    "jsmith@example.com"
  ]
}'
{
  "message": "<string>",
  "airdropped": 123
}

Authorizations

x-api-key
string
header
required

The API Key you were given in the developer portal. API keys are associated with your organization's project application and can have read or write permissions and an optional expiration date.

Body

application/json
Airdrop collection items to a list of customers with a maximum of 500 users per request. You must provide the collection `id`. *Note: The `collectionId` is different from the collection ID used on the blockchain.* You must provide a list of user IDs, emails, **OR** a list of user reference IDs associated with your database. You cannot mix and match these parameters.
collectionId
string
required
users
string[]
usersByReferenceId
string[]
emails
string[]

Response

200
application/json
Collection item airdrop transaction was submitted to the blockchain and is pending.
message
string
required
airdropped
number
required