---
title: "Create Target"
method: POST
path: "/api/admin/test-runner-targets"
tags: ["admin-test-runner-targets"]
---

# Create Target

`POST /api/admin/test-runner-targets`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/test-runner-targets`
- Auth: none declared

## Request body

- TargetCreate
  - `slug` string, required
  - `label` string, required
  - `base_url` string, required
  - `auth_kind` string, required
  - `bypass_token` string, nullable

## Response `201`

Successful Response

- TargetView
  - `id` string, required
  - `slug` string, required
  - `label` string, required
  - `base_url` string, required
  - `auth_kind` string, required
  - `token_last4` string, nullable, required
  - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
