Create New ScanCopy Pagepost https://{hostname}/api/v2/scans/createThis endpoint allows you to create a new scan with specified parameters for a project. You can access the "custom" information in the body parameters from the Scanner details.Body Paramsscanparams_idstringrequiredThe unique identifier for the scan parameters.branchstringrequiredThe branch of the project where the scan will be conducted (e.g., "master").meta_datastringAdditional metadata associated with the scan.projectstringrequiredThe unique identifier of the project.tool_idstringrequiredThe unique identifier for the scanning tool to be used (e.g., "650c518c7495187ed927cd22").probjectpr objectcustomobjectcustom objectfork_scanbooleanIndicator whether the scan is a fork scan.fork_source_branchstringThe source branch for the fork scan.override_fork_source_branchbooleanIndicator whether to override the fork source branch.environmentstringThe environment in which the scan will be conducted.scheduledbooleanDefaults to falseIndicator whether to create scheduled scans.api_rruleobjectSchedule scan rule configurationapi_rrule objectHeadersX-CookiestringrequiredPersonal Access TokenResponses 200200 400400Updated 11 months ago