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

# Credentials (domain)



## OpenAPI

````yaml /openapi.json get /api/v1/dataleaks/credentials
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/dataleaks/credentials:
    get:
      tags:
        - Dataleaks
      summary: Credentials (domain)
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: fromDate
          in: query
          required: false
          schema:
            type: string
        - name: toDate
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Credentials response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Missing required query parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Access denied for requested domain
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: APIKey
      description: 'Required for all /api/v1 endpoints. Use Authorization: Bearer <api_key>'

````