Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update quest

Update quest in a community

patch
Path parameters
subdomainstringRequired
questIdstring · uuidRequired
Header parameters
authorizationstringOptional
x-api-keystringOptional
x-zealy-mcp-clientstring · enumOptionalPossible values:
x-zealy-expected-updated-atone ofOptional
string · date-timeOptional
or
string · enumOptionalPossible values:
x-zealy-require-draftstring · enumOptionalPossible values:
x-zealy-confirmation-tokenstring · uuidOptional
Body
categoryIdstring · uuidOptional
namestring · max: 100Optional
publishedbooleanOptional
recurrencestring · enumOptionalPossible values:
conditionOperatorstring · enumOptionalPossible values:
retryAfterone of · nullableOptionalDefault: 0
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
or
number · enumOptionalPossible values:
positionnumber · max: 5000Optional
claimLimitnumber · max: 2147483647OptionalDefault: 0
sprintIdstring · uuidOptional
aiReviewbooleanOptional
aiPromptstring · nullableOptional
archivedbooleanOptional
isAutomaticWhenEmptybooleanOptional
Responses
200

200

application/json
or
patch/public/communities/{subdomain}/quests/{questId}
PATCH /public/communities/{subdomain}/quests/{questId} HTTP/1.1
Host: api-v2.zealy.io
Content-Type: application/json
Accept: */*
Content-Length: 942

{
  "categoryId": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "published": true,
  "recurrence": "daily",
  "conditionOperator": "AND",
  "retryAfter": 0,
  "description": {
    "type": "text",
    "text": "text",
    "attrs": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "marks": [
      {
        "type": "text",
        "attrs": {
          "href": "text",
          "target": "_blank",
          "class": "text",
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    ],
    "content": null,
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "conditions": [
    {
      "type": "quest",
      "operator": "isCompleted",
      "value": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "position": 1,
  "claimLimit": 0,
  "sprintId": "123e4567-e89b-12d3-a456-426614174000",
  "aiReview": true,
  "aiPrompt": "text",
  "rewards": [
    {
      "type": "xp",
      "value": 1
    },
    {
      "method": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "type": "fcfs",
        "max": 1,
        "count": 1
      }
    }
  ],
  "tasks": [
    {
      "type": "partnership",
      "settings": {
        "subdomain": "text"
      }
    },
    {
      "id": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "archived": true,
  "isAutomaticWhenEmpty": true
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "categoryId": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "published": true,
  "lockedUsdc": 1,
  "archived": true,
  "recurrence": "daily",
  "conditionOperator": "AND",
  "retryAfter": 1,
  "description": {
    "type": "text",
    "text": "text",
    "attrs": {
      "ANY_ADDITIONAL_PROPERTY": "anything"
    },
    "marks": [
      {
        "type": "text",
        "attrs": {
          "href": "text",
          "target": "_blank",
          "class": "text",
          "ANY_ADDITIONAL_PROPERTY": "anything"
        },
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    ],
    "content": null,
    "ANY_ADDITIONAL_PROPERTY": "anything"
  },
  "conditions": [
    {
      "type": "quest",
      "operator": "isCompleted",
      "value": "123e4567-e89b-12d3-a456-426614174000"
    }
  ],
  "rewards": [
    {
      "type": "xp",
      "value": 1
    },
    {
      "method": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "type": "fcfs",
        "max": 1,
        "count": 1
      }
    }
  ],
  "tasks": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "type": "partnership",
      "settings": {
        "subdomain": "text"
      }
    }
  ],
  "claimLimit": 0,
  "claimCounter": 1,
  "position": 0,
  "isAutomaticWhenEmpty": true,
  "aiReview": true,
  "aiPrompt": "text",
  "xCreditExhaustionId": "123e4567-e89b-12d3-a456-426614174000",
  "communityId": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "updatedAt": "2026-01-01T00:00:00.000Z",
  "deleted": true,
  "autoValidate": true,
  "creationSource": "text",
  "showOnCreatorPage": true,
  "community": {
    "name": "text",
    "subdomain": "text",
    "imageUrl": "text"
  }
}

Last updated