---
title: "List quests in a community"
method: GET
path: "/public/communities/{subdomain}/quests"
tags: ["quest"]
---

# List quests in a community

`GET /public/communities/{subdomain}/quests`

## Path parameters

- `subdomain` string, required

## Headers

- `x-api-key` string, required

## Response `200`

200

- object[]
  - `description` object, nullable, required
    - `type` string
    - `text` string
    - `attrs` object
    - `marks` object[]
      - `type` string, required
      - `attrs` object
        - `href` string
        - `target` '_blank' | '_parent' | '_self' | '_top'
        - `class` string, nullable
    - `content` unknown
  - `id` string, required
  - `name` string, required
  - `deleted` boolean
  - `communityId` string
  - `categoryId` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `archived` boolean, nullable, required
  - `autoValidate` boolean
  - `conditionOperator` 'AND' | 'OR', nullable, required
  - `conditions` object[], required
    - `type` 'level' | 'role' | 'nft' | 'quest' | 'date', required
    - `value` union, required
      - string
      - number
    - `operator` '=' | '>' | '<' | '>=' | '<=' | '!=' | 'isCompleted' | 'isNotCompleted', required
  - `published` boolean, required
  - `recurrence` 'daily' | 'weekly' | 'monthly' | 'once', required
  - `retryAfter` number, nullable, required
  - `rewards` object[], nullable, required
    - `type` 'xp' | 'role' | 'other', required
    - `operator` '=' | '>' | '<' | '>=' | '<=' | '!=' | 'isCompleted' | 'isNotCompleted'
    - `value` union, required
      - string
      - number
    - `chain` 'polygon' | 'ethereum'
    - `collection` string
    - `contractAddress` string
  - `tasks` union[], required
    - union
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'api', required
        - `settings` object, required
          - `title` string
          - `description` string
          - `endpoint` string, uri, required
          - `apiKey` string
          - `identifications` string[], required
          - `network` 'eth-mainnet' | 'opt-mainnet' | 'arb-mainnet' | 'polygon-mainnet' | 'base-mainnet' | 'sol-mainnet' | 'bnb-mainnet' | 'linea-mainnet' | 'avalanche-mainnet' | 'fantom-mainnet' | 'cronos-mainnet' | 'palm-mainnet' | 'gnosis-mainnet' | 'chiliz-mainnet' | 'moonbeam-mainnet' | 'polygonzkevm-mainnet' | 'zksync-mainnet' | 'ton-mainnet'
          - `redirectUrl` string
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'text', required
        - `settings` union, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` false, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` true, required
            - `correctAnswer` string
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'discord', required
        - `settings` object, required
          - `inviteUrl` string, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'url', required
        - `settings` union, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` false, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` true, required
            - `correctAnswer` union, required
              - …
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'telegram', required
        - `settings` object, required
          - `inviteUrl` union, required
            - string, uri
            - string
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'invites', required
        - `settings` object, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'quiz', required
        - `settings` object, required
          - `title` string
          - `description` string
          - `multipleSelection` boolean
          - `shuffleOptionsOrder` boolean
          - `verticalAlignement` boolean
          - `withImage` false
          - `options` object[], required
            - `label` string, required
            - `correctAnswer` boolean
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'visitLink', required
        - `settings` object, required
          - `linkUrl` string, uri, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'file', required
        - `settings` union, required
          - object
            - `restrictFileType` false, required
            - `autoValidated` boolean
          - object
            - `restrictFileType` true, required
            - `fileTypes` string[], required
            - `autoValidated` boolean
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'date', required
        - `settings` union, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` false, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` true, required
            - `correctAnswer` string, date-time
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'number', required
        - `settings` union, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` false, required
          - object
            - `title` string
            - `description` string
            - `autoValidated` true, required
            - `correctAnswer` union
              - …
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'poll', required
        - `settings` object, required
          - `title` string
          - `description` string
          - `multipleSelection` boolean
          - `shuffleOptionsOrder` boolean
          - `verticalAlignement` boolean
          - `autoValidated` boolean
          - `otherOption` boolean
          - `withImage` false
          - `options` object[], required
            - `label` string, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'opinion', required
        - `settings` union, required
          - object
            - `title` string
            - `description` string
            - `scaleType` 'numerical', required
            - `step` object, required
              - …
            - `label` object
              - …
          - object
            - `title` string
            - `description` string
            - `scaleType` 'stars', required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'twitterFollow', required
        - `settings` object, required
          - `username` string, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'twitterSpace', required
        - `settings` object, required
          - `spaceUrl` string, uri, required
          - `password` string
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'tweetReact', required
        - `settings` object, required
          - `actions` string[], required
          - `tweetUrl` string, required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'tweet', required
        - `settings` object, required
          - `defaultTweet` string
          - `tweetWords` string[], required
      - object
        - `id` string
        - `metadata` unknown
        - `type` 'tiktok', required
        - `settings` object, required
          - `descriptionWords` string[], required
          - `minViewCount` integer, nullable, required
  - `claimLimit` number, nullable
  - `claimCounter` number, nullable

## Other responses

- `400` — 400
- `401` — 401
- `403` — 403
- `404` — 404
- `409` — 409
- `429` — 429
- `500` — 500

---

[API](https://skmtc.net/zealy/apis/zealy-api.md) · [All operations](https://skmtc.net/zealy/apis/zealy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zealy/zealy-api/revisions/1c24cb9f818b/schema)
