Import Projects (v1)
Request a target to be analyzed for supported Snyk projects via a configured integration. See the Integrations API to configure a new integration.
The organization ID. The API_KEY must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe unique identifier for the configured integration. This can be found on the Integration page in the Settings area for all integrations that have been configured.
9a3e5d90-b782-468a-a042-9a2073736f0bNote: Importing targets through a Github (Cloud) integration requires the use of a Snyk personal access/api token.
{"target":{"owner":"org-security","name":"goof","branch":"main"},"files":[{"path":"example/package.json"}]}No content
The organization ID. The API_KEY must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbedThe unique identifier for the configured integration. This can be found on the Integration page in the Settings area for all integrations that have been configured.
9a3e5d90-b782-468a-a042-9a2073736f0bThe ID of the job. This can be found in the Location response header from the corresponding POST request that triggered the import job.
1a325d9d-b782-468a-a242-9a2073734f0bapplication/json; charset=utf-8Possible values: Last updated
Was this helpful?

