GET
/
2022-06-09
/
actions
/
{actionId}
curl --request GET \
  --url https://staging.crossmint.com/api/2022-06-09/actions/{actionId} \
  --header 'X-API-KEY: <api-key>'
{
  "action": "nfts.create",
  "actionId": "66881a4d-eff9-467a-b19d-a2ff76eef5c2",
  "data": {
    "collection": {
      "contractAddress": "0x0B7c736cD6D517b6AFfB3F6151eC662B0000018B",
      "id": "someCollection"
    },
    "recipient": {
      "walletAddress": "0x6Def4FF2Efe3731EB2Ca09c625d21bfd6da00000"
    },
    "token": {
      "id": "66881a4d-eff9-467a-b19d-a2ff76eef5c2"
    }
  },
  "resource": "https://staging.crossmint.com/api/2022-06-09/actions/66881a4d-eff9-467a-b19d-a2ff76eef5c2",
  "startedAt": "2023-10-02T22:10:41.000Z",
  "status": "pending"
}

The shape of the data property in the 200 response for this API depends on the type of action initially performed. For example, minting/burning an NFT, creating/updating a collection or template, or NFT transfers.

The action property will indicate the type of action originally performed and will be one of:

  • nfts.create
  • nfts.delete
  • nfts.update
  • collections.create
  • collections.update
  • wallets:nfts.transfer

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Path Parameters

actionId
string
required

The actionId.

Response

200 - application/json
action
string
actionId
string
data
object
resource
string
startedAt
string
status
string