Quests

Create a new quest requirement.

Invoke this endpoint to add a new requirement to a quest.

post/v2/admin/quests/{quest_id}/quest-requirements

Request

Path parameters

quest_idstring required

the ID of the quest having a requirement added

Request body multipart/form-data

value_thresholdnumber required

the ActivityType value threshold needed to satisfy the QuestRequirement

descriptionstring required

a description of the quest requirement

activity_type_idstring required

the ID of the ActivityType that satisfies the QuestRequirement

prize_point_reward_valuenumber

the amount of points to reward for completing the QuestRequirement

prize_loot_box_idstring

the ID of a lootbox to reward for completing the QuestRequirement

prize_nft_loyalty_reward_idstring

the ID of a reward to reward for completing the QuestRequirement

auto_claim_prizeboolean

a boolean indicating if the prize should be automatically claimed when the QuestRequirement is completed

activity_type_subtypesstring[]

an array of ActivityTypeSubtype IDs that can be used to fulfill the QuestRequirement

check_in_interval_daysnumber

If present, the cadence at which the user must perform the activity (e.g. a value of 3, with a value_threshold of 50 equates to spend $50 every 3 days).

cta_textstring

Call to action description text.

cta_urlstring

Call to action URL.

ordernumber

If present, the order in which the requirement must be completed.

restricted_to_idsstring[]

a list containing IDs that are allowed to fulfill the QuestRequirement

Response

Successful response

quest_requirementobject required

Changes

No recorded changes to this operation across all 1 revision of this API.