---
title: "Create Quest"
method: POST
path: "/quests/"
---

# Create Quest

`POST /quests/`

## Request body

- object
  - `client_id` string, required
  - `name` string, required
  - `description` string
  - `started_at` string, date
  - `stopped_at` string, date
  - `timeout` string — ISO8601
  - `attributes` unknown[] — key and value pairs
    - unknown
  - `leaderboard_ids` string[] — Optional list of leaderboard UUIDs that should be updated when a user receives a reward for completing a quest. This field only takes effect if the leaderboard override flag is enabled for your application. To enable this flag, please contact Livelike. By default, if the flag is disabled, all leaderboards linked to the awarded reward item will be updated automatically.

## Response `201`

201

- object
  - `id` string
  - `client_id` string
  - `name` string
  - `description` string
  - `quest_tasks` unknown[]
    - unknown
  - `created_at` string
  - `attributes` object[]
    - `key` string
    - `value` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/livelike/apis/engagement-suite.md) · [All operations](https://skmtc.net/livelike/apis/engagement-suite/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/livelike/engagement-suite/revisions/f3171d1c30f7/schema)
