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

# Create a case (manual)



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/cases
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.16
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/cases:
    post:
      tags:
        - Cases
      summary: Create a case (manual)
      operationId: create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCaseDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseDto'
components:
  schemas:
    CreateCaseDto:
      type: object
      properties:
        source_type:
          enum:
            - risk_screen
            - sanctions_screen
            - alert_event
            - manual
          type: string
        source_id:
          type: string
          maxLength: 256
          description: Required for risk_screen and alert_event (screen_id / event_id).
        title:
          type: string
          maxLength: 200
          example: 'High-risk address detected: 0x742d...bD28'
        severity:
          enum:
            - severe
            - high
            - medium
            - low
          type: string
          description: >-
            Required when source_type is manual; inherited from the source
            otherwise.
        subject:
          $ref: '#/components/schemas/CaseSubjectInputDto'
        assignee:
          type: string
          format: email
          example: compliance@example.com
      required:
        - source_type
        - subject
    CaseDto:
      type: object
      properties:
        id:
          type: string
        workspace_id:
          type: string
        title:
          type: string
        status:
          type: string
          enum:
            - open
            - in_review
            - resolved
        resolution:
          type: string
          nullable: true
          enum:
            - dismissed
            - escalated
        severity:
          type: string
          enum:
            - severe
            - high
            - medium
            - low
        source_type:
          enum:
            - risk_screen
            - sanctions_screen
            - alert_event
            - manual
          type: string
        source_id:
          type: string
          nullable: true
        subject:
          $ref: '#/components/schemas/CaseSubjectDto'
        assignee:
          type: string
          nullable: true
        created_by:
          type: string
          nullable: true
        created_at:
          type: string
        updated_at:
          type: string
        resolved_at:
          type: string
          nullable: true
        viewed:
          type: boolean
          description: Whether the calling user has opened this case before.
        comments:
          type: array
          items:
            $ref: '#/components/schemas/CaseCommentDto'
        evidence_summary:
          type: object
          nullable: true
      required:
        - id
        - workspace_id
        - title
        - status
        - severity
        - source_type
        - subject
        - created_at
        - updated_at
        - viewed
        - comments
    CaseSubjectInputDto:
      type: object
      properties:
        type:
          enum:
            - address
            - transaction
            - counterparty
          type: string
        address:
          type: string
          maxLength: 256
          example: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28'
        network:
          type: string
          maxLength: 256
          example: ethereum
        tx_hash:
          type: string
          maxLength: 256
          example: 0xabc...
        name:
          type: string
          maxLength: 256
          description: >-
            Display fallback. Server derives one from address/tx_hash when
            omitted.
      required:
        - type
    CaseSubjectDto:
      type: object
      properties:
        type:
          enum:
            - address
            - transaction
            - counterparty
          type: string
        address:
          type: string
          maxLength: 256
          example: '0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28'
        network:
          type: string
          maxLength: 256
          example: ethereum
        tx_hash:
          type: string
          maxLength: 256
          example: 0xabc...
        name:
          type: string
          maxLength: 256
          description: Always populated — falls back to a shortened address/tx_hash.
      required:
        - type
    CaseCommentDto:
      type: object
      properties:
        id:
          type: string
        author:
          type: string
          example: analyst@range.org
        body:
          type: string
        created_at:
          type: string
      required:
        - id
        - author
        - body
        - created_at
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````