Synack Tests API

Operations related to security tests

Operations 5

GET /v1/assessments/{assessment_id}/tests Retrieve all tests on an assessment #
POST /v1/assessments/{assessment_id}/tests/{id}/approve Approve a test (as a super admin) #
POST /v1/assessments/{assessment_id}/tests/{id}/reject Reject a test (as a super admin) #
POST /v2/organizations/{organizationUid}/assessments/{assessmentUid}/tests Create a test for an assessment #
GET /v1/{org_uid}/assets/{asset_uid}/listings/tests/latest Returns list of latest tests details and statuses per organization and asset #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/synack-tests-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

synack-tests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Synack Tests API
  contact:
    name: Synack Engineering
    email: engineering@synack.com
  version: '1.0'
  description: 'Operations tagged Tests across 3 of this provider''s published API definitions: synack-monolith-v1-openapi.yaml, synack-monolith-v2-openapi.yaml, synack-streaming-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.synack.com
  description: Commercial - V1 API
- url: https://api.synack.us
  description: FedRAMP (Medium) - V1 API
- url: https://client.synack.com/api
  description: Commercial - V2 API
- url: https://client.synack.us/api
  description: FedRAMP (Medium) - V2 API
- url: https://client.synack.com/api/streaming
  description: Commercial
- url: https://client.synack.us/api/streaming
  description: FedRAMP (Medium)
tags:
- name: Tests
  description: Operations related to security tests
paths:
  /v1/assessments/{assessment_id}/tests:
    get:
      operationId: getAssessmentTests
      summary: Retrieve all tests on an assessment
      description: Retrieve tests associated with a specific assessment
      tags:
      - Tests
      parameters:
      - name: assessment_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the assessment
      responses:
        '200':
          description: A list of tests on the assessment
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Test'
        '403':
          description: The user is missing sufficient privileges
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '404':
          description: No assessment matched the given ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
      security:
      - BearerAuth: []
      - BasicAuth: []
      - ApiKeyAuth: []
    servers:
    - url: https://api.synack.com
      description: Commercial - V1 API
    - url: https://api.synack.us
      description: FedRAMP (Medium) - V1 API
  /v1/assessments/{assessment_id}/tests/{id}/approve:
    post:
      operationId: approveTest
      summary: Approve a test (as a super admin)
      description: 'Approve a test as a super admin, transitioning it from Admin Review to Synack Review status.

        The test must be in Admin Review status.

        '
      tags:
      - Tests
      parameters:
      - name: assessment_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the assessment
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the test
      responses:
        '200':
          description: The approved test
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Test'
        '403':
          description: The user is missing sufficient privileges or the feature is not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '404':
          description: No assessment or test matched the given ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '409':
          description: Test is not in Admin Review status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '422':
          description: Failed to approve the test
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
      security:
      - BearerAuth: []
      - BasicAuth: []
      - ApiKeyAuth: []
    servers:
    - url: https://api.synack.com
      description: Commercial - V1 API
    - url: https://api.synack.us
      description: FedRAMP (Medium) - V1 API
  /v1/assessments/{assessment_id}/tests/{id}/reject:
    post:
      operationId: rejectTest
      summary: Reject a test (as a super admin)
      description: 'Reject a test as a super admin, returning it to draft status.

        The test must be in Admin Review status.

        '
      tags:
      - Tests
      parameters:
      - name: assessment_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the assessment
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the test
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                super_admin_reject_reason:
                  type: string
                  description: Reason for rejection (optional, sent back to the test submitter)
      responses:
        '200':
          description: The rejected test (returned to draft status)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Test'
        '403':
          description: The user is missing sufficient privileges or the feature is not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '404':
          description: No assessment or test matched the given ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '409':
          description: Test is not in Admin Review status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
        '422':
          description: Failed to reject the test
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/errors'
      security:
      - BearerAuth: []
      - BasicAuth: []
      - ApiKeyAuth: []
    servers:
    - url: https://api.synack.com
      description: Commercial - V1 API
    - url: https://api.synack.us
      description: FedRAMP (Medium) - V1 API
  /v2/organizations/{organizationUid}/assessments/{assessmentUid}/tests:
    post:
      operationId: createAssessmentTest
      summary: Create a test for an assessment
      description: Create a new test for a specific assessment
      tags:
      - Tests
      parameters:
      - name: organizationUid
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the organization
      - name: assessmentUid
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the assessment
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - testPlan
              properties:
                name:
                  type: string
                  description: Name of the test
                testPlan:
                  type: string
                  enum:
                  - Synack365
                  - Synack90
                  - Synack14
                  description: Test plan type
                testObjective:
                  type: string
                  description: Objective of the test
      responses:
        '201':
          description: Test created successfully
          content:
            application/json:
              schema:
                type: object
                required:
                - test
                properties:
                  test:
                    $ref: '#/components/schemas/Test'
        '400':
          description: Failed to parse parameters
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '404':
          description: Assessment not found
      security:
      - BearerAuth: []
      - BasicAuth: []
      - ApiKeyAuth: []
    servers:
    - url: https://client.synack.com/api
      description: Commercial - V2 API
    - url: https://client.synack.us/api
      description: FedRAMP (Medium) - V2 API
  /v1/{org_uid}/assets/{asset_uid}/listings/tests/latest:
    get:
      x-mint:
        metadata:
          title: Get Tests for an Asset
      summary: Returns list of latest tests details and statuses per organization and asset
      description: Get latest tests details and statuses by organization UID and asset UID
      operationId: getAssetListingsTestsLatest
      tags:
      - Tests
      parameters:
      - name: org_uid
        in: path
        description: Organization UID
        required: true
        schema:
          type: string
      - name: asset_uid
        in: path
        description: Asset UID
        required: true
        schema:
          type: string
      - name: limit
        in: query
        description: Maximum number of results to be returned
        schema:
          type: integer
      - name: order_by
        in: query
        description: Order By [listing_codename, listing_name]
        schema:
          type: string
          default: listing_codename
          enum:
          - listing_codename
          - listing_name
      - name: order_direction
        in: query
        description: Order Direction [ASC DESC]
        schema:
          type: string
          default: ASC
          enum:
          - ASC
          - DESC
      - name: per_page
        in: query
        description: Maximum number of results to be returned
        schema:
          type: integer
      - name: page
        in: query
        description: If provided, show the provided page
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Document'
        '400':
          description: bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Bearer token is missing or invalid
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - bearerAuth: []
    servers:
    - url: https://client.synack.com/api/streaming
      description: Commercial
    - url: https://client.synack.us/api/streaming
      description: FedRAMP (Medium)
components:
  schemas:
    Test:
      type: object
      properties:
        name:
          type: string
        testPlan:
          type: string
          enum:
          - Synack365
          - Synack90
          - Synack14
        testObjective:
          type: string
        createdAt:
          type: string
          format: date-time
    ProblemDetails:
      type: object
      required:
      - type
      - title
      - organization
      properties:
        type:
          type: string
          description: A URI reference that identifies the problem type
        title:
          type: string
          description: A short, human-readable summary of the problem type
        detail:
          type: string
          description: A human-readable explanation specific to this occurrence of the problem
        organization:
          type: string
          description: The organization UID associated with the problem
    ProblemDetailsSubProblem:
      type: object
      required:
      - name
      - reason
      properties:
        name:
          type: string
          description: The parameter name that caused the validation error
        reason:
          type: string
          description: The reason why the parameter is invalid
    ValidationProblemDetails:
      allOf:
      - $ref: '#/components/schemas/ProblemDetails'
      - type: object
        required:
        - invalidParams
        properties:
          invalidParams:
            type: array
            items:
              $ref: '#/components/schemas/ProblemDetailsSubProblem'
    Relationship:
      type: object
      properties:
        data: {}
        links:
          $ref: '#/components/schemas/Links'
    Data:
      type: object
      properties:
        attributes: {}
        id:
          type: string
        links:
          $ref: '#/components/schemas/Links'
        meta: {}
        relationships:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/Relationship'
        type:
          $ref: '#/components/schemas/ResourceType'
    Links:
      type: object
      properties:
        next:
          type: string
        prev:
          type: string
    Error:
      type: object
      properties:
        detail:
          type: string
        id:
          type: string
        source:
          type: string
        status:
          type: integer
        title:
          type: string
    Document:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/Data'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        included:
          type: array
          items: {}
        links:
          $ref: '#/components/schemas/Links'
        meta: {}
    ResourceType:
      type: string
      enum:
      - asset_list
      - assets_counts
      - asset_details
      - asset_whois
      - asset_ports
      - asset_providers
      - asset_seed_groups
      - health_check
      - org_asset_ports
      - org_asset_suspected_vulns
      - org_asset_vulns
      - org_asset_listings_tests_latest
      - top_vulnerable_ports
      - top_unique_ports
      - most_recently_added_assets
      - top_cisa_cves
      - top_vulnerable_ips
      - asset_gateways
      - tags
      - last_tested_counts
      - last_assets_scan
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    BasicAuth:
      type: http
      scheme: basic
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Auth
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- synack-monolith-v1-openapi.yaml
- synack-monolith-v2-openapi.yaml
- synack-streaming-openapi.yaml