Targets

Create Target

Creates a Web Application, API, or Network target in your organization, optionally with credentials and API authentication instructions.

post/v1/targets

Request

  • Base URL
    https://api.mindfort.app
  • URL
    https://api.mindfort.app/v1/targets
  • Auth
    HTTP bearer

Request body

namestring required
descriptionstring nullable
target_type'web_app' | 'api' | 'network' required
web_domainstring uri nullable

HTTP(S) target URL required for web_app and api. URL-embedded credentials are rejected; use target credentials instead. A host-only URL may be returned with a trailing slash.

ip_addressstring ip-address nullable
api_auth_instructionsstring nullable

API authentication validation instructions. Required when an API target is created with one or more credentials.

Response

Successful response

idstring uuid required
namestring required
descriptionstring nullable
target_typestring required
web_domainstring nullable
ip_addressstring nullable
created_atstring date-time required
updated_atstring date-time required
last_assessment_timestring date-time nullable
api_auth_instructionsstring nullable

Target-level API authentication validation instructions.

created_by'user' | 'mindfort' nullable
created_by_user_idstring nullable
origin_suggestion_idstring uuid nullable

Changes

No recorded changes to this operation across all 1 revision of this API.