---
title: "Create a production test challenge"
method: POST
path: "/v1/apps/{id}/production-tests"
tags: ["Workspace API - Production Tests"]
---

# Create a production test challenge

`POST /v1/apps/{id}/production-tests`

Creates a new production test challenge for the app. The app name is automatically used as the host name.

## Path parameters

- `id` string, required

## Request body

- CreateProductionTestDto
  - `title` string, required — Challenge title
  - `description` string — Challenge description
  - `providerIds` string[] — Provider IDs to test
  - `targetPlatform` 'ios' | 'android' — Target platform filter
  - `maxStamps` number — Maximum number of stamps (first-come limit)
  - `allowDuplicateParticipation` boolean — Whether to allow duplicate participation (same user + same provider)

## Response `201`

Challenge created successfully

- ChallengeRequestResponseDto
  - `id` string, required
  - `clientId` string, required
  - `status` string, required
  - `payload` object, required
  - `challengeId` string
  - `createdAt` string, required

## Other responses

- `400` — Invalid input data
- `401` — Invalid API key
- `404` — App not found

---

[API](https://skmtc.net/hopae/apis/hconnect-api.md) · [All operations](https://skmtc.net/hopae/apis/hconnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hopae/hconnect-api/versions/ed6e97ac6f2f/schema)
