List quests

Overview

This endpoint retrieves all quests and their details for a specified community. Admin role required.

The claimCounter indicates the number of claims made for a quest. Note: this value is not real-time; it is cached for 1 hour.

List quests in a community

get
Path parameters
subdomainstringRequired
Header parameters
x-api-keystringRequired
Responses
200
200
application/json
get
GET /public/communities/{subdomain}/quests HTTP/1.1
Host: api-v2.zealy.io
x-api-key: text
Accept: */*
[
  {
    "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"
    },
    "id": "text",
    "name": "text",
    "deleted": true,
    "communityId": "text",
    "categoryId": "text",
    "createdAt": "2025-06-27T08:04:15.342Z",
    "updatedAt": "2025-06-27T08:04:15.342Z",
    "archived": true,
    "autoValidate": true,
    "conditionOperator": "AND",
    "conditions": [
      {
        "type": "level",
        "value": "text",
        "operator": "="
      }
    ],
    "published": true,
    "recurrence": "daily",
    "retryAfter": 1,
    "rewards": [
      {
        "type": "xp",
        "operator": "=",
        "value": "text",
        "chain": "polygon",
        "collection": "text",
        "contractAddress": "text"
      }
    ],
    "tasks": [
      {
        "id": "text",
        "metadata": null,
        "type": "api",
        "settings": {
          "title": "text",
          "description": "text",
          "endpoint": "https://example.com",
          "apiKey": "text",
          "identifications": [
            "email"
          ],
          "network": "eth-mainnet",
          "redirectUrl": "text"
        }
      }
    ],
    "claimLimit": 1,
    "claimCounter": 1
  }
]

Last updated

Was this helpful?