TLS Radar Scan Groups API

Domain monitoring group operations

GitHub OpenAPI

Operations 5

GET /teams/{team_id}/scan_groups List scan groups #
POST /teams/{team_id}/scan_groups Create scan group (add many domains at once) #
GET /teams/{team_id}/scan_groups/{id} Get scan group details #
PATCH /teams/{team_id}/scan_groups/{id} Update scan group #
DELETE /teams/{team_id}/scan_groups/{id} Delete scan group #

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/tlsradar-com:tlsradar-com-scan-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

tlsradar-com-scan-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TLS Radar Scan Groups API
  version: 1.0.0
  description: API for TLS Radar - SSL/TLS certificate monitoring service. Monitor certificate expirations, detect vulnerabilities, and receive alerts for your domains. Public certificates on every plan; private PKI monitoring (your own CA's certificates and internal hosts) on Enterprise, set up on request.
  contact:
    name: TLS Radar Support
    url: https://tlsradar.com/contact
  license:
    name: Proprietary
servers:
- url: https://tlsradar.com/api/v1
  description: Production
- url: https://staging.tlsradar.com/api/v1
  description: Staging
security:
- oauth2:
  - read
  - write
- bearerAuth: []
tags:
- name: Scan Groups
  description: Domain monitoring group operations
paths:
  /teams/{team_id}/scan_groups:
    get:
      tags:
      - Scan Groups
      summary: List scan groups
      description: Returns all scan groups for a team Requires the `read` scope. Any accepted member of the team (owner, admin or guest).
      parameters:
      - $ref: '#/components/parameters/teamId'
      responses:
        '200':
          description: List of scan groups
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ScanGroup'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: read
      x-required-role: Any accepted member of the team (owner, admin or guest).
      operationId: getTeamsByTeamIdScanGroups
      x-operation-id-source: derived
    post:
      tags:
      - Scan Groups
      summary: Create scan group (add many domains at once)
      description: Creates a scan group and starts monitoring every domain in `hosts` in one request. This is the way to add many domains at once; to add one domain to an existing group, use POST /teams/{team_id}/scan_groups/{scan_group_id}/hosts. Requires the `write` scope. Team owner or admin. Guests have read-only access and get 403. Every address in `hosts` counts against the team owner's domain limit; a list that would exceed it is rejected with 422 and nothing is created. Creating a group also starts a scan unless the caller's scan cooldown is active.
      parameters:
      - $ref: '#/components/parameters/teamId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - scan_group
              properties:
                scan_group:
                  type: object
                  required:
                  - friendly_name
                  properties:
                    friendly_name:
                      type: string
                      description: Name for the scan group
                    scan_port:
                      type: integer
                      default: 443
                      description: Port to scan
                    tls_protocol:
                      type:
                      - string
                      - 'null'
                      enum:
                      - smtp
                      - imap
                      - pop3
                      - ldap
                      - ftp
                      - xmpp
                      - postgres
                      - null
                      description: Upgrade to TLS with STARTTLS in this protocol before scanning (mail on 587 is smtp). Omit for servers that speak TLS from the start. STARTTLS groups get certificate checks only.
                    hosts:
                      type: string
                      description: Comma or space-separated list of domains to monitor, all added in this request
      responses:
        '201':
          description: Scan group created
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ScanGroup'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '403':
          description: The credential lacks the required scope ({error, required_scope, your_scopes}), the user's team role does not allow the change, or the free trial has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not in a team the user has accepted membership of.
        '422':
          description: 'Validation failed. {errors: [...]} lists every message, including the domain limit.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-required-scope: write
      x-required-role: Team owner or admin. Guests have read-only access and get 403.
      operationId: postTeamsByTeamIdScanGroups
      x-operation-id-source: derived
  /teams/{team_id}/scan_groups/{id}:
    get:
      tags:
      - Scan Groups
      summary: Get scan group details
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/resourceId'
      responses:
        '200':
          description: Scan group details
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ScanGroupDetail'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: read
      x-required-role: Any accepted member of the team (owner, admin or guest).
      description: Requires the `read` scope. Any accepted member of the team (owner, admin or guest).
      operationId: getTeamsByTeamIdScanGroupsById
      x-operation-id-source: derived
    patch:
      tags:
      - Scan Groups
      summary: Update scan group
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/resourceId'
      responses:
        '200':
          description: Scan group updated
          content:
            application/json:
              schema:
                type: object
                required:
                - data
                properties:
                  data:
                    $ref: '#/components/schemas/ScanGroup'
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '403':
          description: The credential lacks the required scope ({error, required_scope, your_scopes}), the user's team role does not allow the change, or the free trial has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not in a team the user has accepted membership of.
        '422':
          description: 'Validation failed. {errors: [...]} lists every message, including the domain limit.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      x-required-scope: write
      x-required-role: Team owner or admin. Guests have read-only access and get 403.
      description: 'Requires the `write` scope. Team owner or admin. Guests have read-only access and get 403. `hosts` replaces the group''s list: addresses not listed are removed, new ones added (and counted against the owner''s domain limit).'
      operationId: patchTeamsByTeamIdScanGroupsById
      x-operation-id-source: derived
    delete:
      tags:
      - Scan Groups
      summary: Delete scan group
      parameters:
      - $ref: '#/components/parameters/teamId'
      - $ref: '#/components/parameters/resourceId'
      responses:
        '204':
          description: Scan group deleted
        '401':
          description: Missing, invalid, expired or revoked credential. Suspending or deleting an account revokes all of its API keys and OAuth tokens.
        '403':
          description: The credential lacks the required scope ({error, required_scope, your_scopes}), the user's team role does not allow the change, or the free trial has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or not in a team the user has accepted membership of.
      x-required-scope: write
      x-required-role: Team owner or admin. Guests have read-only access and get 403.
      description: Requires the `write` scope. Team owner or admin. Guests have read-only access and get 403.
      operationId: deleteTeamsByTeamIdScanGroupsById
      x-operation-id-source: derived
components:
  schemas:
    ScanGroup:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        scan_port:
          type: integer
          default: 443
        tls_protocol:
          type:
          - string
          - 'null'
          enum:
          - smtp
          - imap
          - pop3
          - ldap
          - ftp
          - xmpp
          - postgres
          - null
        status:
          type: string
          enum:
          - active
          - disabled
        hosts_count:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: string
        errors:
          type: array
          items:
            type: string
        required_scope:
          type: string
          description: Insufficient-scope 403s only
        your_scopes:
          type: array
          items:
            type: string
          description: Insufficient-scope 403s only
        retry_after:
          type: integer
          description: '429s only: seconds until the next attempt can succeed'
    ScanGroupDetail:
      allOf:
      - $ref: '#/components/schemas/ScanGroup'
      - type: object
        properties:
          hosts:
            type: array
            items:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
                address:
                  type: string
                  description: Domain name (e.g., example.com)
                status:
                  type: string
                  enum:
                  - active
                  - disabled
                last_scan_status:
                  type:
                  - string
                  - 'null'
                last_scanned_at:
                  type:
                  - string
                  - 'null'
                  format: date-time
                expiration_date:
                  type:
                  - string
                  - 'null'
                  format: date-time
                expiring_soon:
                  type: boolean
                  description: 'True if the certificate is unexpired and inside its expiry-warning window. The window opens shortly after an automated client should have renewed (a third of the lifetime left) and is never longer than 30 days: 28 days for a 90-day certificate, 19 for a 64-day one'
          schedule:
            type: object
            description: Present when the group has a schedule
            properties:
              id:
                type: string
                format: uuid
              schedule_type:
                type: string
              interval_minutes:
                type:
                - integer
                - 'null'
              next_run_at:
                type:
                - string
                - 'null'
                format: date-time
  parameters:
    resourceId:
      name: id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Resource UUID
    teamId:
      name: team_id
      in: path
      required: true
      schema:
        type: string
        format: uuid
      description: Team UUID
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key obtained from TLS Radar dashboard
    oauth2:
      type: oauth2
      description: OAuth 2.0 Authorization Code + PKCE. Public clients can self-register via RFC 7591 at /oauth/register. See /.well-known/oauth-authorization-server for the full metadata document.
      flows:
        authorizationCode:
          authorizationUrl: https://tlsradar.com/oauth/authorize
          tokenUrl: https://tlsradar.com/oauth/token
          refreshUrl: https://tlsradar.com/oauth/token
          scopes:
            read: Read access to scans, monitors, teams, and account
            write: Create and modify monitors, teams, scans
            admin: All read + write plus account-level operations