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

# API Elenco casi di Didit

> Elenca i casi di Didit per stato, priorità, fonte, blueprint, assegnatario, tag e scadenza, con ricerca full-text su oggetto, tag ed entità.



Prompt per l'API Elenco casi
        Copia il prompt negli appunti



      
      

\<pre>

\`List compliance cases for my Didit application through the Management API.

Endpoint:
GET https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/

Authentication:
Use the x-api-key header with my Didit API key.

Goal:
\- Retrieve cases with the same filtering the Console's Cases list offers: status, priority, source, blueprint, assignee, tag, created-date range, due-before, and overdue. Paginated with limit/offset.

Useful query params:
\- status__in=OPEN,AWAITING_USER,RESOLVED (comma-separated)
\- priority=LOW,MEDIUM,HIGH (comma-separated)
\- source__in=MANUAL,AML_SCREENING,TRANSACTION_RULE,WORKFLOW_BUILDER
\- blueprint=<uuid>, assigned_to=<uuid>, unassigned=true|false, tag=<string>
\- search=<string> - matches title, case_number, tag, subject name/UUID/external ID, linked session UUID, linked transaction UUID
\- date_from=YYYY-MM-DD, date_to=YYYY-MM-DD (created_at range), due_before=<ISO datetime>, overdue=true
\- ordering=created_at|-created_at|due_at|-due_at (default -created_at)

Example call:
curl -X GET "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/?status__in=OPEN,AWAITING_USER&ordering=-due_at" \
-H "x-api-key: YOUR_API_KEY"

Response shape:
\{"count": int, "next": url|null, "previous": url|null, "results": [CaseListItem, ...]}
count is exact up to 100 and capped at 100 beyond that for performance - rely on next being null to detect the last page, never on count.
Each CaseListItem has uuid, case_number, title, status, resolution, pending_resolution (set only while a 4-eyes resolution is staged), checker {member_uuid, name, email}, priority, source, tags, subject {type, uuid, name, external_id, country, portrait}, assigned_to {uuid, full_name, email}, team {uuid, name}, blueprint {uuid, name}, links_count, notes_count, due_at, resolved_at, created_at, updated_at.
\- subject.country - ISO 3166-1 alpha-3 code, or null when unknown. A business: its country of incorporation. A person: the issuing country of one of their identity documents.
\- subject.portrait - short-lived signed URL of the person's portrait, or null. Always null for a business. Download the image when you read it; do not store the URL.
\- team - the review team that owns the case, or null.
\- checker - the member named to approve a pending four-eyes resolution, or null. Set only while a resolution waits on a named checker; name is null when unknown.

Failure modes:
\- 401 - missing or malformed x-api-key.
\- 403 - a key with restricted access gets {"detail": "This API key has no access to this endpoint."} (cases need a full-access key). A console member token needs list:cases.

Side effects: none, pure read.

For the full integration shape, see /integration/integration-prompt.`

\</pre>



      
      

Incolla in

Elenca i casi dell'applicazione, dal più recente al più vecchio per impostazione predefinita. Ogni filtro e ogni opzione di ordinamento disponibili nell'elenco Casi della Console sono esposti come parametri di query, incluso `search` per la ricerca a testo integrale su soggetto, tag, numero del caso e ID di sessione o transazione collegati.
Ogni caso riporta anche il `team` di appartenenza, il `checker` indicato per una risoluzione a quattro occhi in attesa, e il `country` e il `portrait` del soggetto.## AccessoGli endpoint dei casi richiedono una [chiave API](https://docs.didit.me/it/console/api-keys.md) con accesso completo.
Una chiave con accesso limitato riceve `403`.## Correlati- [Crea caso](https://docs.didit.me/it/management-api/cases/create.md)
- [Aggiorna caso](https://docs.didit.me/it/management-api/cases/update.md)
- [Analisi dei casi](https://docs.didit.me/it/management-api/cases/statistics.md)
- [Casi (Console)](https://docs.didit.me/it/console/case-management/cases.md)


## OpenAPI

````yaml it/openapi-25.json GET /v3/organization/{organization_id}/application/{application_id}/cases/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: API di verifica dell'identità. Autenticati con l'intestazione x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/organization/{organization_id}/application/{application_id}/cases/:
    get:
      tags:
        - Cases
      summary: Elenca i casi
      description: >-
        Elenca i casi per l'applicazione, dal più recente. Supporta filtri,
        ricerca e ordinamento; vedi i parametri di query. Paginato con
        `limit`/`offset`.
      operationId: list_cases
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID dell'organizzazione.
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: UUID dell'applicazione.
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            minimum: 1
          description: Dimensione della pagina. Il valore predefinito è 50.
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
            minimum: 0
          description: Offset in base zero del primo record.
        - name: status__in
          in: query
          schema:
            type: string
          description: Stati separati da virgole da includere, ad es. OPEN,AWAITING_USER.
        - name: priority
          in: query
          schema:
            type: string
          description: Priorità separate da virgole da includere.
        - name: source__in
          in: query
          schema:
            type: string
          description: Origini separate da virgole da includere.
        - name: blueprint
          in: query
          schema:
            type: string
            format: uuid
          description: Filtra per casi su questo blueprint.
        - name: assigned_to
          in: query
          schema:
            type: string
            format: uuid
          description: Filtra per casi assegnati a questo utente.
        - name: unassigned
          in: query
          schema:
            type: boolean
          description: true per i casi non assegnati, false per i casi assegnati.
        - name: tag
          in: query
          schema:
            type: string
          description: Filtra per casi associati a questo esatto tag.
        - name: search
          in: query
          schema:
            type: string
          description: >-
            Trova corrispondenze per title, case_number, tag, nome/UUID/ID
            esterno del soggetto, UUID della sessione collegata o UUID della
            transazione collegata.
        - name: date_from
          in: query
          schema:
            type: string
            format: date
          description: Limite inferiore per la data di creazione (incluso).
        - name: date_to
          in: query
          schema:
            type: string
            format: date
          description: Limite superiore per la data di creazione (incluso).
        - name: due_before
          in: query
          schema:
            type: string
            format: date-time
          description: Limite superiore di due_at.
        - name: overdue
          in: query
          schema:
            type: boolean
          description: >-
            true per restituire solo i casi aperti/in attesa dell'utente
            scaduti.
        - name: ordering
          in: query
          schema:
            type: string
            enum:
              - created_at
              - '-created_at'
              - due_at
              - '-due_at'
            default: '-created_at'
          description: Ordinamento. due_at ordina i valori nulli per ultimi.
      responses:
        '200':
          description: Elenco impaginato dei casi.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    description: >-
                      Numero di righe corrispondenti. Esatto fino a 100,
                      limitato a 100 oltre tale soglia per motivi di
                      prestazioni. Fai affidamento sul fatto che `next` sia null
                      per rilevare l'ultima pagina.
                  next:
                    type: string
                    nullable: true
                    description: URL assoluto della pagina successiva, o null.
                  previous:
                    type: string
                    nullable: true
                    description: URL assoluto della pagina precedente, o null.
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/CaseListItem'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X GET
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/?status__in=OPEN,AWAITING_USER&ordering=-due_at'
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            client = Didit()

            for item in client.cases.list():
                print(item)
        - lang: javascript
          label: Node.js
          source: |-
            import Didit from "@didit-protocol/sdk-node";

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            const didit = new Didit();

            for await (const item of didit.cases.list()) {
              console.log(item);
            }
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID\n// and DIDIT_APPLICATION_ID.\nclient := didit.NewClient()\n\niter := client.Cases.ListAutoPaging(ctx, didit.CasesListParams{})\nfor iter.Next() {\n\tfmt.Printf(\"%+v\\n\", iter.Current())\n}\nif err := iter.Err(); err != nil {\n\tlog.Fatal(err)\n}"
        - lang: java
          label: Java
          source: |-
            import me.didit.Didit;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            Didit client = new Didit();

            for (var item : client.cases().list()) {
                System.out.println(item);
            }
        - lang: php
          label: PHP
          source: |-
            <?php

            require 'vendor/autoload.php';

            use Didit\DiditClient;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            $didit = new DiditClient();

            foreach ($didit->cases->list() as $item) {
                print_r($item->toArray());
            }
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            didit = Didit::Client.new

            didit.cases.list.auto_paging_each do |item|
              puts item.to_h
            end
        - lang: csharp
          label: .NET
          source: |-
            using System;
            using System.Text.Json;
            using Didit;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            using var client = new DiditClient();

            await foreach (var item in await client.Cases.ListAsync())
            {
                Console.WriteLine(JsonSerializer.Serialize(item));
            }
components:
  schemas:
    CaseListItem:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        case_number:
          type: string
          nullable: true
          description: Assegnato automaticamente, es. CS-0001.
        title:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - AWAITING_USER
            - RESOLVED
        resolution:
          type: string
          enum:
            - FALSE_POSITIVE
            - VALID_THREAT
            - INCONCLUSIVE
            - REQUIREMENTS_NOT_MET
            - REQUIREMENTS_SATISFIED
          nullable: true
        pending_resolution:
          type: object
          nullable: true
          description: >-
            Impostato solo mentre una risoluzione a 4 occhi è predisposta sul
            blueprint checker, in attesa di approvazione o rifiuto
            dell'approvazione.
          properties:
            resolution:
              type: string
              enum:
                - FALSE_POSITIVE
                - VALID_THREAT
                - INCONCLUSIVE
                - REQUIREMENTS_NOT_MET
                - REQUIREMENTS_SATISFIED
            resolution_notes:
              type: string
              nullable: true
            maker_email:
              type: string
              format: email
              nullable: true
              description: >-
                Email del responsabile che ha inviato la risoluzione. Null se
                inviata tramite chiave API: tale risoluzione non ha un autore
                registrato, pertanto approve e reject-approval restituiscono 403
                per ogni chiamante.
            maker_name:
              type: string
              nullable: true
            maker_user_id:
              type: string
              format: uuid
              nullable: true
              description: >-
                UUID utente membro del responsabile che ha inviato la
                risoluzione. Null quando è stata inviata tramite una chiave API.
                Tale membro non può essere designato come `checker`.
            maker_blueprint_id:
              type: string
              format: uuid
            staged_at:
              type: string
              format: date-time
        checker:
          $ref: '#/components/schemas/CaseChecker'
        priority:
          type: string
          enum:
            - LOW
            - MEDIUM
            - HIGH
        source:
          type: string
          enum:
            - MANUAL
            - AML_SCREENING
            - TRANSACTION_RULE
            - WORKFLOW_BUILDER
        tags:
          type: array
          items:
            type: string
        subject:
          $ref: '#/components/schemas/CaseSubject'
        assigned_to:
          $ref: '#/components/schemas/CaseAssignee'
        assigned_at:
          type: string
          format: date-time
          nullable: true
        team:
          $ref: '#/components/schemas/CaseTeamSummary'
        due_at:
          type: string
          format: date-time
          nullable: true
        resolved_at:
          type: string
          format: date-time
          nullable: true
        created_by_email:
          type: string
          nullable: true
        created_by_name:
          type: string
          nullable: true
        blueprint:
          $ref: '#/components/schemas/CaseBlueprintSummary'
        links_count:
          type: integer
        notes_count:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        application_id:
          type: string
          format: uuid
        application_name:
          type: string
        organization_id:
          type: string
          format: uuid
        organization_name:
          type: string
    CaseChecker:
      type: object
      nullable: true
      description: >-
        Il membro designato per approvare o rifiutare la risoluzione in sospeso.
        Impostato solo mentre una risoluzione a quattro occhi attende un
        verificatore designato. Null quando non c'è nulla in sospeso, mentre la
        risoluzione in sospeso attende nella coda dei verificatori e una volta
        che la risoluzione è approvata, rifiutata o restituita per una nuova
        revisione a seguito della modifica delle prove.
      properties:
        member_uuid:
          type: string
          format: uuid
          description: >-
            L'uuid utente del membro: il valore che passi come `checker` quando
            risolvi il caso.
        name:
          type: string
          nullable: true
          description: Il nome completo del membro, o null se non noto.
        email:
          type: string
          format: email
    CaseSubject:
      type: object
      nullable: true
      description: L'unico utente o azienda a cui è associato il caso.
      properties:
        type:
          type: string
          enum:
            - user
            - business
        uuid:
          type: string
          format: uuid
        name:
          type: string
        external_id:
          type: string
          nullable: true
          description: Il vendor_data del soggetto.
        country:
          type: string
          nullable: true
          description: >-
            Codice paese a tre lettere del soggetto (ISO 3166-1 alpha-3), oppure
            null se non noto. Per un'azienda, il paese di costituzione. Per una
            persona, il paese di emissione di un documento d'identità
            proveniente dalle sue verifiche; per una persona con documenti
            provenienti da diversi paesi ne viene mostrato uno e possono
            comparire codici documento ICAO come `XXA`.
          example: ESP
        portrait:
          type: string
          format: uri
          nullable: true
          description: >-
            URL firmato di breve durata dell'immagine del ritratto della
            persona. Sempre null per un'azienda e null per una persona senza
            ritratto. L'URL scade, quindi scarica l'immagine quando leggi il
            caso invece di memorizzare l'URL.
    CaseAssignee:
      type: object
      nullable: true
      properties:
        uuid:
          type: string
          format: uuid
        full_name:
          type: string
        email:
          type: string
          format: email
    CaseTeamSummary:
      type: object
      nullable: true
      description: >-
        Il team di revisione assegnatario del caso, oppure null se non è
        assegnato ad alcun team. L'instradamento lo imposta quando una regola di
        instradamento assegna il caso a uno dei suoi team. Modificalo o
        cancellalo con `PATCH .../cases/{case_uuid}/` (`team`).
      properties:
        uuid:
          type: string
          format: uuid
        name:
          type: string
    CaseBlueprintSummary:
      type: object
      nullable: true
      properties:
        uuid:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 24
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        La chiave API della tua applicazione, da Developers -> API keys nella
        Business Console. La chiave primaria ha accesso completo. Una chiave con
        nome può avere un ambito definito: nessuno, lettura o scrittura per
        risorsa, limitata ad alcuni workflow o a sessioni approvate, a un elenco
        di indirizzi IP e a una data di scadenza. 401 indica che la chiave è
        errata, revocata o scaduta; 403 indica che non è stata inviata alcuna
        chiave, che la chiave non ha accesso a questa risorsa o azione, oppure
        che la richiesta proviene da un indirizzo non incluso nel suo elenco IP;
        404 su una route di sessione indica che la sessione non rientra nei
        workflow o negli stati previsti dalla chiave. Una chiave senza accesso
        ai media riceve gli URL di immagini, video e PDF come null, e una chiave
        senza permessi di scrittura sulle sessioni riceve link e token di
        sessione come null. Consulta https://docs.didit.me/console/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.