Count Digital Passports for Target Audience
Before you begin
Get the count of digital passports passing a certain amount of parameters to reach the number of digital passports involved in your campaign.
Let's start 🚀
Use the /onceOfMessage/countNFTs with the parameters you wish to get the count of.
NFT Management Platform user rights required to call this API →certRead
{
"messageForm": {
"tagRule": "all",
"uniqueOwner": true,
"tags": [],
"tokenIds": "",
"isWalletActiveSinceNumberOfDays": 30,
"custodialWallet": "all",
"allCountries": "false",
"countries": ["France", "Atlantis"]
}
}Input | Mandatory | Type | Description |
|---|---|---|---|
| ✅ | String | Tag rules that define if your audience must own all mentioned tags or at least one. |
| ❌ | Boolean |
|
| ✅ | String | Use tags to target your audience. |
| ❌ | String | Target specific digital passport IDs to send the campaign. |
| ❌ | Number | A period in days during which activity was observed on the user's wallet. |
| ❌ | String | Custodial or non-custodial wallet. |
| ❌ | Boolean |
|
| ❌ | String | Define the target country. |
Result: The count is returned.
{
"count": 212
}Updated 12 days ago
