POST
/
2022-06-09
/
collections
/
{collectionId}
/
sfts
curl --request POST \
  --url https://staging.crossmint.com/api/v1-alpha1/2022-06-09/collections/{collectionId}/sfts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "templateId": "silver-pass",
  "recipient": "email:replaceme@youruser.com:polygon",
  "amount": 10
}'
{
  "actionId": "20ed0963-0185-49af-b4a0-2de3169bb367"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

collectionId
string
default:
default
required

Every project can mint to their pre-built collections, or use the create-collection endpoint

Body

application/json
templateId
string
required

Identifier of the template

Example:

"silver-pass"

recipient
string
default:
email:replaceme@youruser.com:polygon
required

Recipient address in the format of <chain>:<address> or <br> email:<email_address>:<chain>. See https://docs.crossmint.com/docs/recipients for more info.

amount
integer

(Optional) Amount to mint

Example:

10

Response

200
application/json
Success
actionId
string
Example:

"20ed0963-0185-49af-b4a0-2de3169bb367"