Skip to main content
Welcome to the Synack API Documentation Portal. The Synack API enables programmatic access to Synack databases by 3rd party applications. Sample use cases include retrieving vulnerabilities found by Synack testing, adding assets to the Synack platform, managing Synack users, and more. The Synack API is a RESTful service that allows retrieving or adding data from the Synack platform. Valid requests to the API return a 200 OK response in JSON format. In order to prevent unauthorized access, a valid API token needs to be supplied via the Authorization header.
Note: the permissions of the Synack User who generates the token apply. We recommend that your Synack Admin generates the token, so that data for all Synack Assessments and Vulnerabilities in the Organization are accessible to API requests. If a User with a different role generates the API token, data available to API requests will match the data which the user who generated the API Key sees in the Synack Portal.
To generate the token, in the Synack Client portal go to Settings -> API -> Tokens. In the ‘IPv4 Address’ field we recommend using the * wildcard, however if a consistent source IP address for API requests is known then this can be specified. Optionally, set an ‘Expires At’ date for the Token. For details of available Synack API endpoints and their functions, please consult the ‘API Reference’ section of this API Portal. However, as an introduction, here is one example of how to fetch all exploitable vulnerabilities for a Synack organization.
# e.g. to fetch all vulnerabilities (paged)
curl -k -H 'Authorization: Bearer YOUR_TOKEN_GOES_HERE' https://api.synack.com/v1/vulnerabilities