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

> Didit Management API से स्क्रीनिंग हिट, AML जाँच, संदिग्ध गतिविधि और KYC समीक्षा के बिल्ट-इन प्रीसेट को संपादन योग्य ब्लूप्रिंट के रूप में इंस्टॉल करें।



ब्लूप्रिंट प्रीसेट इंस्टॉल करने के लिए API प्रॉम्प्ट
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Install built-in blueprint presets through the Management API.

Endpoint:
POST https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/blueprints/presets/install/

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

Request body:
\{"preset_keys": ["aml_investigation", "kyc"]}   // optional - omit to install every preset not yet installed

Valid preset_keys: screening_hit, aml_investigation, suspicious_activity, kyc.

Behavior:
\- Idempotent per preset_key - re-installing an already-installed preset is skipped, not duplicated.
\- Installed presets become fully independent, editable CaseBlueprint rows; further edits do not affect the catalogue or other applications.
\- None of the presets set assignment_method, assignee_pool, escalation, transfer, or 4-eyes - those routing decisions are always yours to configure after installing.

Example call:
curl -X POST "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/cases/blueprints/presets/install/" \
-H "x-api-key: YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{"preset_keys": ["aml_investigation", "kyc"]}'

Response 201 (or 200 if nothing new was installed): {"created": ["aml_investigation", "kyc"]}

Failure modes:
\- 401/403 - auth/permission errors (requires write:cases).

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

\</pre>



      
      

यहाँ पेस्ट करें

एप्लिकेशन में एक या अधिक अंतर्निर्मित प्रीसेट को संपादन योग्य ब्लूप्रिंट के रूप में कॉपी करें। पूरी सूची और पहले से इंस्टॉल किए गए प्रीसेट देखने के लिए पहले `GET .../cases/blueprints/presets/` को कॉल करें।## संबंधित- [केस ब्लूप्रिंट बनाएँ](https://docs.didit.me/hi/management-api/case-blueprints/create.md)
- [ब्लूप्रिंट (Console)](https://docs.didit.me/hi/console/case-management/blueprints.md)


## OpenAPI

````yaml hi/openapi-25.json POST /v3/organization/{organization_id}/application/{application_id}/cases/blueprints/presets/install/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: पहचान सत्यापन API। x-api-key हेडर के साथ प्रमाणीकृत करें।
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/organization/{organization_id}/application/{application_id}/cases/blueprints/presets/install/:
    post:
      tags:
        - Case Blueprints
      summary: ब्लूप्रिंट प्रीसेट इंस्टॉल करें
      description: >-
        एक या अधिक प्रीसेट को संपादन योग्य ब्लूप्रिंट के रूप में एप्लिकेशन में
        कॉपी करें। प्रति preset_key आइडेम्पोटेंट; अभी तक इंस्टॉल नहीं किए गए
        प्रत्येक प्रीसेट को इंस्टॉल करने के लिए preset_keys को छोड़ दें।
      operationId: install_case_blueprint_presets
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: संगठन UUID।
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: एप्लिकेशन UUID।
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                preset_keys:
                  type: array
                  items:
                    type: string
                  nullable: true
                  description: >-
                    screening_hit, aml_investigation, suspicious_activity, kyc
                    का सबसेट। सभी को स्थापित करने के लिए छोड़ दें।
            example:
              preset_keys:
                - aml_investigation
                - kyc
      responses:
        '200':
          description: >-
            इंस्टॉल करने के लिए कोई नया प्रीसेट नहीं है (सभी अनुरोधित प्रीसेट
            पहले से मौजूद हैं)।
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseBlueprintPresetInstallResult'
        '201':
          description: एक या अधिक प्रीसेट इंस्टॉल किए गए।
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CaseBlueprintPresetInstallResult'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/blueprints/presets/install/'
            \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{"preset_keys": ["aml_investigation", "kyc"]}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

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

            result = client.cases.blueprints.install_presets(
                preset_keys=["aml_investigation", "kyc"],
            )
            print(result)
        - 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();

            const result = await didit.cases.blueprints.installPresets({
              preset_keys: ["aml_investigation", "kyc"],
            });
            console.log(result);
        - 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\nresult, err := client.Cases.Blueprints.InstallPresets(ctx, didit.CasesBlueprintsInstallPresetsParams{\n\tPresetKeys: didit.Some([]string{\"aml_investigation\", \"kyc\"}),\n})\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: >-
            import java.util.List;

            import me.didit.Didit;

            import me.didit.types.CasesBlueprintsInstallPresetsParams;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            Didit client = new Didit();


            var result =
            client.cases().blueprints().installPresets(CasesBlueprintsInstallPresetsParams.builder()
                    .presetKeys(List.of("aml_investigation", "kyc"))
                    .build());
            System.out.println(result);
        - 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();

            $result = $didit->cases->blueprints->installPresets([
                'preset_keys' => ['aml_investigation', 'kyc'],
            ]);
            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            # and DIDIT_APPLICATION_ID.

            didit = Didit::Client.new


            result = didit.cases.blueprints.install_presets(preset_keys:
            ["aml_investigation", "kyc"])

            puts result.to_h
        - 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();


            var result = await client.Cases.Blueprints.InstallPresetsAsync(new
            CasesBlueprintsInstallPresetsParams

            {
                PresetKeys = new string[] { "aml_investigation", "kyc" },
            });

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    CaseBlueprintPresetInstallResult:
      type: object
      properties:
        created:
          type: array
          items:
            type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        आपकी एप्लिकेशन की API कुंजी, Business Console में Developers -> API keys
        से। प्राथमिक कुंजी के पास पूर्ण एक्सेस होता है। एक नामित कुंजी को स्कोप
        किया जा सकता है: प्रति संसाधन none, read या write, कुछ वर्कफ़्लो या
        स्वीकृत सत्रों तक सीमित, IP पतों की सूची तक सीमित, और समाप्ति तिथि तक
        सीमित। 401 का अर्थ है कि कुंजी गलत है, निरस्त कर दी गई है या उसकी
        समय-सीमा समाप्त हो गई है; 403 का अर्थ है कि कोई कुंजी नहीं भेजी गई थी,
        कुंजी के पास इस संसाधन या कार्रवाई का एक्सेस नहीं है, या अनुरोध उसकी IP
        सूची से बाहर के पते से आया था; सत्र रूट पर 404 का अर्थ है कि सत्र कुंजी
        के वर्कफ़्लो या स्थितियों से बाहर है। मीडिया एक्सेस के बिना एक कुंजी को
        छवि, वीडियो और PDF URL null के रूप में प्राप्त होते हैं, और सत्र write
        के बिना एक कुंजी को सत्र लिंक और token null के रूप में प्राप्त होते हैं।
        देखें https://docs.didit.me/console/api-keys।

````

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