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

# List disputes

> Get a list of disputes



## OpenAPI

````yaml get /disputes
openapi: 3.1.0
info:
  title: DisputeNinja API
  description: API for managing dispute evidence and file uploads
  version: 1.0.0
servers:
  - url: https://app.disputeninja.io/api/v1
security: []
paths:
  /disputes:
    get:
      summary: List disputes
      description: Get a list of disputes
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
          required: false
          description: 'Number of disputes to return (default: 10, max: 100)'
        - name: offset
          in: query
          schema:
            type: integer
            minimum: 0
          required: false
          description: 'Number of disputes to skip (default: 0)'
      responses:
        '200':
          description: List of disputes
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Dispute'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method not allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    Dispute:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the dispute
        object:
          type: string
          enum:
            - dispute
          description: String representing the object's type
        initiated_at:
          type: string
          format: date-time
          description: Timestamp when the dispute was initiated
        response_due_by:
          type: string
          format: date-time
          description: Deadline for responding to the dispute
        amount:
          type: integer
          description: The disputed amount in the smallest currency unit
        currency:
          type: string
          description: Three-letter ISO currency code
        reason:
          type: string
          description: The reason for the dispute
        status:
          type: string
          description: Current status of the dispute
        provider:
          type: string
          description: The external provider handling the dispute
        evidence:
          $ref: 39d19be8-a9ca-46cb-845a-20549ad2db99
          type: object
          nullable: true
          description: Evidence submitted for the dispute
      required:
        - id
        - object
    Error:
      type: object
      properties:
        type:
          type: string
          enum:
            - api_error
            - card_error
            - idempotency_error
            - invalid_request_error
          description: Error type
        code:
          type: string
          description: Short error code for programmatic handling
        message:
          type: string
          description: Human-readable error description
        param:
          type: string
          description: Parameter causing the error, if applicable
      required:
        - type
        - message
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````