Create Loyalty Rule
Create a new Loyalty Rule
Authorizations
Body
Schema for creating a new loyalty rule with detailed validations
Unique identifier for the organization creating the rule
Unique identifier for the associated website
Name of the loyalty rule
1
Type of loyalty rule being created
Bonus
, BoughtOn
, BoughtWithRoyalties
, DiscordMessages
, Listing
, Lodging
, MintOn
, PoapClaim
, SnagSocialsConnected
, SnapshotFullset
, SnapshotHold
, SoldOn
, SoldWithRoyalties
, TokenHold
, TwitterBio
, TwitterHashTagPost
, Retweet
, twitter_follow
, twitter_like
, twitter_comment
, connected_discord
, connected_twitter
, connected_email
, profile_completed
, referred_user
, code_entry
, check_in
, external_rule
, link_click
, tweet_liked_by_project
, twitter_post_hashtag
, token_hold_erc20
, snapshot_governance
, twitter_followers
, discord_member
, text_input
, telegram_messages
, drip_x_follow
, drip_x_tweet
, drip_x_new_tweet
, drip_x_text_in_bio
, drip_x_text_in_name
, drip_x_text_in_comment
, smart_contract_event
, create_partner_account
, telegram_join
, connected_telegram
, manual_upload
, connect_wallet
, connected_steam
Execution frequency of the loyalty rule
none
, once
, daily
, weekly
, monthly
, immediately
When the rule becomes active
When the rule becomes inactive
The effective start time of the rule
The effective end time of the rule
Reward amount associated with the rule
Additional metadata for the loyalty rule
Unique identifier for the loyalty currency
URL of the background asset to be displayed
Optional detailed description of the rule
Blockchain network where the rule will apply
mainnet
, polygon
, polygon_mumbai
, optimism
, arbitrum
, binance
, bscTestnet
, avalanche
, avalancheFuji
, zksync
, fantom
, fantomTestnet
, base
, baseSepolia
, skaleNebula
, xai
, berachainArtio
, solana
, apechain
, flowMainnet
, campTestnet
, sui
, vanar
, sepolia
, optimism_sepolia
, arbitrumSepolia
, goerli
, optimism_goerli
, arbitrumGoerli
Interval between rule executions
daily
, weekly
, monthly
, once
URL for uploading custom rewards via CSV
URL for fetching custom rewards
Identifier for associated subscriptions
Blockchain address of the associated collection
List of associated collections
Whether to hide this rule in the user interface
Whether this rule is mandatory
OAuth credentials associated with the rule
Unique identifier for the loyalty rule group
no-section
Type of reward issued by the rule
points
, multiplier
Response
Schema for creating a new loyalty rule with detailed validations
Unique identifier for the organization creating the rule
Unique identifier for the associated website
Name of the loyalty rule
1
Type of loyalty rule being created
Bonus
, BoughtOn
, BoughtWithRoyalties
, DiscordMessages
, Listing
, Lodging
, MintOn
, PoapClaim
, SnagSocialsConnected
, SnapshotFullset
, SnapshotHold
, SoldOn
, SoldWithRoyalties
, TokenHold
, TwitterBio
, TwitterHashTagPost
, Retweet
, twitter_follow
, twitter_like
, twitter_comment
, connected_discord
, connected_twitter
, connected_email
, profile_completed
, referred_user
, code_entry
, check_in
, external_rule
, link_click
, tweet_liked_by_project
, twitter_post_hashtag
, token_hold_erc20
, snapshot_governance
, twitter_followers
, discord_member
, text_input
, telegram_messages
, drip_x_follow
, drip_x_tweet
, drip_x_new_tweet
, drip_x_text_in_bio
, drip_x_text_in_name
, drip_x_text_in_comment
, smart_contract_event
, create_partner_account
, telegram_join
, connected_telegram
, manual_upload
, connect_wallet
, connected_steam
Execution frequency of the loyalty rule
none
, once
, daily
, weekly
, monthly
, immediately
When the rule becomes active
When the rule becomes inactive
The effective start time of the rule
The effective end time of the rule
Reward amount associated with the rule
Additional metadata for the loyalty rule
Unique identifier for the loyalty currency
URL of the background asset to be displayed
Optional detailed description of the rule
Blockchain network where the rule will apply
mainnet
, polygon
, polygon_mumbai
, optimism
, arbitrum
, binance
, bscTestnet
, avalanche
, avalancheFuji
, zksync
, fantom
, fantomTestnet
, base
, baseSepolia
, skaleNebula
, xai
, berachainArtio
, solana
, apechain
, flowMainnet
, campTestnet
, sui
, vanar
, sepolia
, optimism_sepolia
, arbitrumSepolia
, goerli
, optimism_goerli
, arbitrumGoerli
Interval between rule executions
daily
, weekly
, monthly
, once
URL for uploading custom rewards via CSV
URL for fetching custom rewards
Identifier for associated subscriptions
Blockchain address of the associated collection
List of associated collections
Whether to hide this rule in the user interface
Whether this rule is mandatory
OAuth credentials associated with the rule
Unique identifier for the loyalty rule group
no-section
Type of reward issued by the rule
points
, multiplier