Skip to main content
POST
Create Target
Required API key permission: targets:write.

Authorizations

Authorization
string
header
required

API key generated from the MindFort dashboard. Pass as Authorization: Bearer <your-api-key>.

Body

application/json
name
string
required
Required string length: 1 - 255
Pattern: \S
target_type
enum<string>
required
Available options:
web_app,
api
web_domain
string<uri>
required
Required string length: 1 - 2083
Pattern: ^[Hh][Tt][Tt][Pp][Ss]?://
description
string | null
Maximum string length: 4000

Response

Successful response

id
string<uuid>
required
name
string
required
target_type
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
web_domain
string | null
ip_address
string | null
last_assessment_time
string<date-time> | null