---
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/`

## Request

- Base URL: `https://cf-blast.livelikecdn.com/api/v1/applications`
- URL: `https://cf-blast.livelikecdn.com/api/v1/applications/{client-id}/ab-test-quests/`
- Auth: none declared

## 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.dev/livelike/apis/new-application.md) - [All operations](https://skmtc.dev/livelike/apis/new-application/llms.txt) - [OpenAPI document](https://skmtc.dev/livelike/apis/new-application/revisions/9c7be80fac91?raw)
