Campaign
Last updated
Last updated
This endpoint retrieves all the active campaigns.
Successful response
true
This endpoint allows users to get a new session for eligibility criteria.
Successful response
true
"1635869520123-123e4567-e89b-12d3-a456-426614174001"
Retrieve eligibility criteria for a specific quest associated with an entity.
The ID of the entity.
The ID of the quest.
Successful response
true
This endpoint allows users to get answers for a quest.
Successful response
true
This endpoint allows ato get or set a new refereal code associated with a campaign and user.
Successful response
true
"referal-code"
This endpoint allows users to verify an eligibility criteria.
"xhy1245"
"1"
""
Successful response
true
Create multiple default quests for a specified entity.
The ID of the entity for which quests are created.
Success
This endpoint allows an admin to delete a campaign.
The request body is an empty object
Successful response
true
"Campaign deleted successfully"
This endpoint allows a user to claim rewards.
"user-123"
"referal-code"
Successful response
true
This endpoint retrieves the referal leaderboard stats.
Successful response
true
This endpoint allows users to set the status of a quest.
"ACTIVE"
Successful response
true
This endpoint allows users to verify an eligibility criteria.
"criteria-123"
Successful response
true
This endpoint allows a user to claim rewards.
"user-123"
"referal-code"
Successful response
true
This endpoint allows users to create a default quest for the specified entity.
The ID of the entity for which the quest will be created.
The ID of the default quest (optional).
"default-id"
Successful response
true
This endpoint retrieves all the active campaigns of a specific entity.
Successful response
true
This endpoint allows users to get submissions for a quest.
Successful response
true
20
2
This endpoint allows an admin to update a campaign.
"Title of this campaign"
"Description of this campaign"
"https://www.myimage.com"
72000
false
Successful response
true
This endpoint allows users to create a metric-based quest.
Request body for creating metric quest
Title of the quest
"exam-title"
Description of the quest
"exam-desc"
Metric details
End date of the quest
Auto claim rewards flag
Repeat rewards based on metric count flag
Additional metadata for the quest
Priority of the quest (1-5)
Successful response
true
"q-123e4567-e89b-12d3-a456-426614174000"
This endpoint allows to create a campaign.
"Title of this campaign"
"Description of this campaign"
"https://www.myimage.com"
72000
false
Successful response
true
"campaign-202"
This endpoint retreives multiple campaigns
Successful response
true
5
25
100
Retrieves detailed information about a metric-based quest, including quest details, rewards, and user progress.
Successful response
Indicates if the request was successful
This endpoint retrieves the campaign summary.
Successful response
true
This endpoint retrieves the details of a specific campaign.
Successful response
true
true
true
2