> ## Documentation Index
> Fetch the complete documentation index at: https://docs.defendis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create group



## OpenAPI

````yaml /openapi.json post /api/v1/watchlists/create
openapi: 3.0.3
info:
  title: Defendis API
  version: 2.0.0
  description: >
    Defendis API for external customer integrations.


    This API exposes security intelligence and watchlist-driven workflows across
    Dataleaks, Exposure, Ransomware, and Watchlists.

    All versioned customer endpoints are served under `/api/v1`.
servers:
  - url: https://api.defendis.ai
security: []
tags:
  - name: Health
  - name: Dataleaks
  - name: Watchlists
  - name: Assets watchlist
  - name: BINs watchlist
  - name: Domains watchlist
  - name: Executives watchlist
  - name: Keywords watchlist
  - name: Ransom watchlist
  - name: Ransomware
  - name: Exposure
  - name: Surface
paths:
  /api/v1/watchlists/create:
    post:
      tags:
        - Watchlists
      summary: Create group
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WatchlistCreateRequest'
      responses:
        '200':
          description: Watchlist created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Watchlist'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WatchlistCreateRequest:
      type: object
      properties:
        name:
          type: string
      required:
        - name
      additionalProperties: false
    Watchlist:
      type: object
      properties:
        id:
          oneOf:
            - type: string
            - type: integer
        name:
          type: string
        entrepriseid:
          type: integer
        userid:
          type: string
      required:
        - id
        - name
      additionalProperties: true
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
      description: 'Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>'

````