Skip to main content
GET
/
v1
/
community
/
quests
cURL
curl --request GET \
  --url https://api.flipsuite.xyz/v1/community/quests \
  --header 'x-api-key: <x-api-key>'
{
  "data": [
    {
      "id": "334a96ea-e763-43be-88f9-7688644f018a",
      "communityId": "90895e48-0db7-4e99-b63a-b4401753da62",
      "name": "Raffle Quest",
      "shortDescription": "Quest intro",
      "fullDescription": "Extra quest description and instructions",
      "createdAt": 1772463808442,
      "startTime": 1772463808442,
      "endTime": 1772723008442,
      "status": "ACTIVE",
      "recurrence": "ONCE",
      "recurrenceInterval": 259200000,
      "visibility": "PUBLIC",
      "iteration": 1,
      "iterationCompletions": [
        23
      ],
      "totalCompletionCount": 23,
      "tasks": [
        {
          "id": "40340a97-2494-4254-a797-0355db9a212c",
          "type": "TWITTER_POST_INTERACTION",
          "postUrl": "https://x.com/flipsuitexyz/status/2021683679102206339",
          "isLikeRequired": true,
          "isRepostRequired": true,
          "isCommentRequired": true
        }
      ],
      "rewards": [
        {
          "id": "79793a4a-c8c2-4819-a80b-6e53c4e20524",
          "type": "FIXED",
          "strategy": {
            "type": "RAFFLE",
            "maxWinners": 5
          },
          "item": {
            "type": "TOKEN",
            "chain": "Base",
            "tokenAddress": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
            "amount": 1
          }
        }
      ]
    }
  ],
  "pagination": {
    "offset": 123,
    "limit": 123,
    "total": 123,
    "count": 123
  }
}

Headers

x-api-key
string<uuid>
required

Your community API key

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

offset
number
default:0
Required range: x >= 0
limit
number
default:20
Required range: 0 <= x <= 50
query
string

Search query to match quest name and description against

Maximum string length: 256
statuses
enum<string>[]

Quest statuses to filter by

Available options:
DRAFT,
TEMPLATE,
ACTIVE,
PAUSED,
REVIEW,
ENDED,
ARCHIVED
recurrenceTypes
enum<string>[]

Quest recurrence types to filter by

Available options:
ONCE,
DAILY,
WEEKLY,
MONTHLY,
CUSTOM
visibilityTypes
enum<string>[]

Quest visibility types to filter by

Available options:
PRIVATE,
PUBLIC,
SHARED
taskTypes
enum<string>[]

Task types to filter by

Available options:
API,
DISCORD_ACCOUNT_AGE,
DISCORD_SERVER_ROLES,
DISCORD_USERS,
FILE_UPLOAD,
NFT_BALANCE,
NUMBER_INPUT,
POLL,
SWAP,
TEXT_INPUT,
TIP,
TOKEN_BALANCE,
TWITTER_ACCOUNT_AGE,
TWITTER_ACCOUNT_FOLLOW,
TWITTER_ACCOUNT_FOLLOWERS,
TWITTER_ACCOUNT_SUBSCRIBE,
TWITTER_ACCOUNT_VERIFIED,
TWITTER_POST_CREATE,
TWITTER_POST_INTERACTION,
WALLET_INPUT
rewardTypes
enum<string>[]

Reward types to filter by

Available options:
FIXED,
SHARED,
RANDOM

Response

200 - application/json

Quests have been retrieved

data
object[]
required

Quests matching the query

pagination
object
required

Pagination metadata