Import Projects (v1)
Last updated
Was this helpful?
Last updated
Was this helpful?
This document uses the v1 API, which will eventually be deprecated, as further Snyk developments are now focused on the REST API. For more details, see the v1 API.
You can use this API to import projects into Snyk. Projects imported can be Git repositories, Docker images, containers, configuration files, and much more. See the Projects and Targets documentation for more information. A typical import would start with requesting a target to be processed and then polling the Import Job API for more details on completion of an import and the resulting Snyk Projects.
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-24078731fbed
The 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-9a2073736f0b
No body
Get import job details
The organization ID. The API_KEY
must have admin access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The 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-9a2073736f0b
The 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-9a2073734f0b