---
title: "POST /{client-id}/ab-test-quests/"
method: POST
path: "/{client-id}/ab-test-quests/"
---

# POST /{client-id}/ab-test-quests/

`POST /{client-id}/ab-test-quests/`

## Path parameters

- `client-id` string, required

## Query parameters

- `quest_name` string, required
- `quest_description` string
- `name` string, required
- `description` string
- `profile_group_ids` string[]
- `started_at` string, date-time
- `stopped_at` string, date-time
- `variants` object[], required
  - `name` string — Variant name
  - `badge_ids` string[] — A list of badge UUIDs to be linked to a specific variant.
  - `quest_rewards` object[] — A list of reward objects to be associated with the quest variant.
    - `reward_item_id` string — uuid if reward item
    - `reward_item_amount` integer — amount value to be awarded
  - `sponsor_ids` string[] — UUIDs of sponsors that should be linked to the quest variant.
  - `quest_tasks` object[] — A list of quest tasks to be associated with the variant for tracking and progressing the quest.
    - `name` string — Display name of the quest task.
    - `target_value` string — Required count or value to complete the task.
    - `quest_task_actions` object[] — List of actions that contribute toward progressing this task.
      - `reward_action_key` string — key of the action whose occurrence increments the task’s progress.
    - `attributes` object[] — Quest task attributes
      - `key` string
      - `value` string
- `timeout` string
- `attributes` object[]
  - `key` string
  - `value` string

## Response `200`

## Other responses

- `201` — Created

---

[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)
