---
title: "Register Target"
method: POST
path: "/v1/targets"
tags: ["targets"]
---

# Register Target

`POST /v1/targets`

## Request

- Base URL: `https://api.cybret.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cybret.ai/v1/targets`
- Auth: HTTP bearer

## Request body

- union
  - SiteCreateRequest
    - `hostname` string, required
  - RegisterTargetRequest
    - `application_name` string, required
    - `environment` 'development' | 'staging' | 'production', required
    - `base_url` string, uri, required
    - `allowed_domains` string[], required
    - `allowed_ports` integer[]
    - `allowed_methods` string[]
    - `auth_domains` string[]
    - `max_requests_per_minute` integer
    - `max_concurrency` integer
    - `data_region` string
    - `retention_days` integer
    - `browser_runner` 'local' | 'browserbase'
    - `private_network` boolean
    - `production_confirmed` boolean
    - `authorization_acknowledged` boolean
    - `authorization_doc_ref` string, nullable

## Response `201`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cybret/apis/api-scanner-control-plane.md) · [All operations](https://skmtc.dev/cybret/apis/api-scanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/cybret/apis/api-scanner-control-plane/revisions/4c9b522246af?raw)
