> ## 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 BIN

> Creates a BIN in the current enterprise watchlist.



## OpenAPI

````yaml /openapi.json post /api/v1/watchlists/bin
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/bin:
    post:
      tags:
        - BINs watchlist
      summary: Create BIN
      description: Creates a BIN in the current enterprise watchlist.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WatchlistBinCreateRequest'
      responses:
        '200':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WatchlistItemResponse'
        '403':
          description: Billing access denied for current enterprise
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingAccessDeniedResponse'
        '409':
          description: Workspace BIN quota reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WatchlistQuotaExceededResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WatchlistBinCreateRequest:
      type: object
      properties:
        bin:
          type: string
        bankname:
          type: string
        watchlistid:
          type: string
      required:
        - bin
      additionalProperties: false
    WatchlistItemResponse:
      type: object
      additionalProperties: true
    BillingAccessDeniedResponse:
      type: object
      properties:
        error:
          type: string
          example: Enterprise billing access denied
        reason:
          type: string
          example: payment_unpaid
        status:
          type: string
          example: unpaid
      required:
        - error
        - reason
        - status
    WatchlistQuotaExceededResponse:
      type: object
      properties:
        error:
          type: string
          enum:
            - quota_domains_reached
            - quota_keywords_reached
            - quota_bins_reached
            - quota_members_reached
        metric:
          type: string
          enum:
            - domains
            - keywords
            - bins
            - members
        used:
          type: integer
        limit:
          type: integer
          nullable: true
        requestedIncrement:
          type: integer
      required:
        - error
        - metric
        - used
        - limit
        - requestedIncrement
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
      description: 'Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>'

````