Skip to main content
POST
/
projects
/
{projectId}
/
adventures
/
{adventureId}
/
quests
Add a quest to an adventure
curl --request POST \
  --url https://api.engagefabric.com/projects/{projectId}/adventures/{adventureId}/quests \
  --header 'Content-Type: application/json' \
  --data '
{
  "questId": "<string>",
  "sortOrder": 123,
  "unlockConditions": {
    "requiredQuestIds": [
      "<string>"
    ],
    "minAdventurePoints": 123,
    "minLevel": 123
  },
  "isRequired": true,
  "bonusRewards": [
    {
      "type": "xp",
      "amount": 123,
      "currencyCode": "<string>",
      "badgeId": "<string>",
      "track": "<string>"
    }
  ]
}
'

Path Parameters

projectId
string
required
adventureId
string
required

Body

application/json
questId
string
required

Quest ID to include in adventure

sortOrder
number

Display order in adventure

unlockConditions
object

Unlock conditions

isRequired
boolean

Is this quest required for adventure completion

bonusRewards
object[]

Bonus rewards for completing in adventure

Response

201 - undefined