Campaign
Last updated
Last updated
This endpoint retrieves all the active campaigns.
/quests
The page number of expected set of documents.
1
The limit of the number of documents each page.
10
The API key for authentication
test
The secret key for authentication
test-secret
This endpoint retrieves all the active campaigns of a specific entity.
/entities/{entityId}/quests
The page number of expected set of documents.
1
The limit of the number of documents each page.
10
The API key for authentication
test
The secret key for authentication
test-secret
This endpoint allows to create a campaign.
/entities/{entityId}/quests
The Id of the user performing the request.
dummy-userid
The API key for authentication
test
The secret key for authentication
test-secret
The token for user authentication.
dummy-token
The Id of the user performing the request.
dummy-userid
Title of this campaign
Description of this campaign
https://www.myimage.com
72000
false
[{"type":"USER_INPUT_TEXT","data":{"title":"Enter your name","xp":20,"frequency":"ONCE"}}]
[{"type":"REWARD_BADGE","title":"Dummy badge","imageIPFS":"ipfs-hash","description":"badge description"}]
This endpoint retrieves the details of a specific campaign.
/entities/{entityId}/quests/{questId}
The Id of the user performing the request.
dummy-userid
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
The API key for authentication
test
The secret key for authentication
test-secret
This endpoint retrieves the campaign summary.
/entities/{entityId}/quests/{questId}/summary
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows an admin to update a campaign.
/entities/{entityId}/quests/{questId}/update
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
Title of this campaign
Description of this campaign
https://www.myimage.com
72000
false
[{"type":"USER_INPUT_TEXT","data":{"title":"Enter your name","xp":20,"frequency":"ONCE"}}]
[{"type":"REWARD_BADGE","title":"Dummy badge","imageIPFS":"ipfs-hash","description":"badge description"}]
This endpoint allows an admin to delete a campaign.
/entities/{entityId}/quests/{questId}/delete
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows users to verify an eligibility criteria.
/entities/{entityId}/quests/{questId}/verify
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
criteria-123
["answer1","answer2"]
This endpoint allows a user to claim rewards.
/entities/{entityId}/quests/{questId}/claim
The Id of the user performing the request.
dummy-userid
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
user-123
referal-code
This endpoint allows a user to claim rewards.
/entities/{entityId}/quests/{questId}/claim-multiple
The Id of the user performing the request.
dummy-userid
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
user-123
referal-code
This endpoint allows ato get or set a new refereal code associated with a campaign and user.
/entities/{entityId}/quests/{questId}/users/{userId}/referralcode
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint retreives multiple campaigns
/entities/{entityId}/multiple-quests
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows users to verify an eligibility criteria.
/entities/{entityId}/quests/{questId}/verify-all
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
xhy1245
1
[{"criteriaId":"exm-1233","answer":["option1","option3"]}]
This endpoint retrieves the referal leaderboard stats.
/entities/{entityId}/quests/{questId}/referraldashboard
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
Retrieve eligibility criteria for a specific quest associated with an entity.
/entities/{entityId}/quests/{questId}/criterias
The ID of the entity.
The ID of the quest.
The Id of the user performing the request.
dummy-userid
The API key for authentication
test
The secret key for authentication
test-secret
The token for user authentication.
dummy-token
Create multiple default quests for a specified entity.
/entities/{entityId}/default-multi-quest
The ID of the entity for which quests are created.
This endpoint allows users to create a default quest for the specified entity.
/entities/{entityId}/default-quest
The ID of the entity for which the quest will be created.
The Id of the user performing the request.
dummy-userid
The API key for authentication
test
The secret key for authentication
test-secret
The token for user authentication.
dummy-token
The ID of the default quest (optional).
default-id
This endpoint allows users to set the status of a quest.
/entities/{entityId}/quests/{questId}/setstatus
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
ACTIVE
ACTIVE
, INACTIVE
This endpoint allows users to get submissions for a quest.
/entities/{entityId}/quests/{questId}/submissions
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows users to get answers for a quest.
/entities/{entityId}/quests/{questId}/answers
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows users to get a new session for eligibility criteria.
/entities/{entityId}/new-session
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
This endpoint allows users to create a metric-based quest.
/entities/{entityId}/metric-quests
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token
Title of the quest
exam-title
Description of the quest
exam-desc
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)
Metric details
Retrieves detailed information about a metric-based quest, including quest details, rewards, and user progress.
/entities/{entityId}/metric-quests/{questId}
The API key for authentication
test
The secret key for authentication
test-secret
The Id of the user performing the request.
dummy-userid
The token for user authentication.
dummy-token