Review a submission

Overview

This endpoint allows you to review one or multiple claimed quests.

API Reference

Review the specified claimed quest

POST https://api-v2.zealy.io/public/communities/:subdomain/reviews

Path Parameters

NameTypeDescription

subdomain*

String

Subdomain of your community

Headers

NameTypeDescription

x-api-key*

String

Your API key

Request Body

NameTypeDescription

claimedQuestIds*

String[]

Array of claimed quests Ids to review

status*

String

"success", "fail" or "pending"

comment

String

Comment associated with the review (only if status = "success" or "fail")

mark

String

"star" (only if status = "success") or "flag" (only if status = "fail")

bonusXP

Integer

only if status = "success" and mark = "star"

{
    "reviewedClaimQuestIds": ["f88493da-bb52-46e1-920d-e1e10b67f0fb"],
    "status": "success",
    "comment": "Amazing Job"
}

Last updated