curl -X POST 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/blueprints/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"name": "AML investigation", "assignee_pool": ["9a000000-0000-4000-8000-0000000000aa"], "assignment_method": "AUTOMATIC", "max_active_cases": 15, "require_resolution_note": true, "content_config": {"aml_control": {"enabled": true, "financial": true, "identity": false}}}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
result = client.cases.blueprints.create(
name="AML investigation",
assignee_pool=["9a000000-0000-4000-8000-0000000000aa"],
assignment_method="AUTOMATIC",
max_active_cases=15,
require_resolution_note=True,
content_config={
"aml_control": {
"enabled": True,
"financial": True,
"identity": False,
},
"stages": {
"items": [{
"label": "Triage",
"sla_hours": 24,
}],
},
},
applies_to=["AML"],
)
print(result)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.create({
name: "AML investigation",
assignee_pool: ["9a000000-0000-4000-8000-0000000000aa"],
assignment_method: "AUTOMATIC",
max_active_cases: 15,
require_resolution_note: true,
content_config: {
aml_control: {
enabled: true,
financial: true,
identity: false,
},
stages: {
items: [{
label: "Triage",
sla_hours: 24,
}],
},
},
applies_to: ["AML"],
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
result, err := client.Cases.Blueprints.Create(ctx, didit.CasesBlueprintsCreateParams{
Name: "AML investigation",
AssigneePool: []string{"9a000000-0000-4000-8000-0000000000aa"},
AssignmentMethod: didit.Some(didit.CasesBlueprintsCreateParamsAssignmentMethod("AUTOMATIC")),
MaxActiveCases: didit.Int(15),
RequireResolutionNote: didit.Bool(true),
ContentConfig: didit.Some(didit.CaseContentConfigParam{
AMLControl: didit.Some(didit.CaseContentConfigParamAMLControl{
Enabled: didit.Bool(true),
Financial: didit.Bool(true),
Identity: didit.Bool(false),
}),
Stages: didit.Some(didit.CaseContentConfigParamStages{
Items: didit.Some([]didit.CaseBlueprintStageParam{{
Label: "Triage",
SLAHours: didit.Int(24),
}}),
}),
}),
AppliesTo: didit.Some([]didit.CaseBlueprintAppliesToValue{"AML"}),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import java.util.List;
import me.didit.Didit;
import me.didit.types.CaseBlueprintAppliesTo;
import me.didit.types.CaseBlueprintStage;
import me.didit.types.CaseContentConfig;
import me.didit.types.CasesBlueprintsCreateParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
var result = client.cases().blueprints().create(CasesBlueprintsCreateParams.builder()
.name("AML investigation")
.assigneePool(List.of("9a000000-0000-4000-8000-0000000000aa"))
.assignmentMethod(CasesBlueprintsCreateParams.AssignmentMethod.of("AUTOMATIC"))
.maxActiveCases(15L)
.requireResolutionNote(true)
.contentConfig(CaseContentConfig.builder()
.amlControl(CaseContentConfig.AmlControl.builder()
.enabled(true)
.financial(true)
.identity(false)
.build())
.stages(CaseContentConfig.Stages.builder()
.items(List.of(CaseBlueprintStage.builder()
.label("Triage")
.slaHours(24L)
.build()))
.build())
.build())
.appliesTo(List.of(CaseBlueprintAppliesTo.of("AML")))
.build());
System.out.println(result);<?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->create([
'name' => 'AML investigation',
'assignee_pool' => ['9a000000-0000-4000-8000-0000000000aa'],
'assignment_method' => 'AUTOMATIC',
'max_active_cases' => 15,
'require_resolution_note' => true,
'content_config' => [
'aml_control' => [
'enabled' => true,
'financial' => true,
'identity' => false,
],
'stages' => [
'items' => [[
'label' => 'Triage',
'sla_hours' => 24,
]],
],
],
'applies_to' => ['AML'],
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
result = didit.cases.blueprints.create(
name: "AML investigation",
assignee_pool: ["9a000000-0000-4000-8000-0000000000aa"],
assignment_method: "AUTOMATIC",
max_active_cases: 15,
require_resolution_note: true,
content_config: {
aml_control: {
enabled: true,
financial: true,
identity: false,
},
stages: {
items: [{
label: "Triage",
sla_hours: 24,
}],
},
},
applies_to: ["AML"]
)
puts result.to_husing 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.CreateAsync(new CasesBlueprintsCreateParams
{
Name = "AML investigation",
AssigneePool = new string[] { "9a000000-0000-4000-8000-0000000000aa" },
AssignmentMethod = new CasesBlueprintsCreateParamsAssignmentMethod("AUTOMATIC"),
MaxActiveCases = 15,
RequireResolutionNote = true,
ContentConfig = new CaseContentConfig
{
AmlControl = new CaseContentConfigAmlControl
{
Enabled = true,
Financial = true,
Identity = false,
},
Stages = new CaseContentConfigStages
{
Items = new CaseBlueprintStage[]
{
new()
{
Label = "Triage",
SlaHours = 24,
},
},
},
},
AppliesTo = new CaseBlueprintAppliesTo[] { "AML" },
});
Console.WriteLine(JsonSerializer.Serialize(result));Create Case Blueprint API
Create a case blueprint: assignment method, escalation, transfer, 4-eyes checker pairing, required resolution note, and the six case-content sections.
curl -X POST 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/blueprints/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"name": "AML investigation", "assignee_pool": ["9a000000-0000-4000-8000-0000000000aa"], "assignment_method": "AUTOMATIC", "max_active_cases": 15, "require_resolution_note": true, "content_config": {"aml_control": {"enabled": true, "financial": true, "identity": false}}}'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
result = client.cases.blueprints.create(
name="AML investigation",
assignee_pool=["9a000000-0000-4000-8000-0000000000aa"],
assignment_method="AUTOMATIC",
max_active_cases=15,
require_resolution_note=True,
content_config={
"aml_control": {
"enabled": True,
"financial": True,
"identity": False,
},
"stages": {
"items": [{
"label": "Triage",
"sla_hours": 24,
}],
},
},
applies_to=["AML"],
)
print(result)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.create({
name: "AML investigation",
assignee_pool: ["9a000000-0000-4000-8000-0000000000aa"],
assignment_method: "AUTOMATIC",
max_active_cases: 15,
require_resolution_note: true,
content_config: {
aml_control: {
enabled: true,
financial: true,
identity: false,
},
stages: {
items: [{
label: "Triage",
sla_hours: 24,
}],
},
},
applies_to: ["AML"],
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
result, err := client.Cases.Blueprints.Create(ctx, didit.CasesBlueprintsCreateParams{
Name: "AML investigation",
AssigneePool: []string{"9a000000-0000-4000-8000-0000000000aa"},
AssignmentMethod: didit.Some(didit.CasesBlueprintsCreateParamsAssignmentMethod("AUTOMATIC")),
MaxActiveCases: didit.Int(15),
RequireResolutionNote: didit.Bool(true),
ContentConfig: didit.Some(didit.CaseContentConfigParam{
AMLControl: didit.Some(didit.CaseContentConfigParamAMLControl{
Enabled: didit.Bool(true),
Financial: didit.Bool(true),
Identity: didit.Bool(false),
}),
Stages: didit.Some(didit.CaseContentConfigParamStages{
Items: didit.Some([]didit.CaseBlueprintStageParam{{
Label: "Triage",
SLAHours: didit.Int(24),
}}),
}),
}),
AppliesTo: didit.Some([]didit.CaseBlueprintAppliesToValue{"AML"}),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import java.util.List;
import me.didit.Didit;
import me.didit.types.CaseBlueprintAppliesTo;
import me.didit.types.CaseBlueprintStage;
import me.didit.types.CaseContentConfig;
import me.didit.types.CasesBlueprintsCreateParams;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
var result = client.cases().blueprints().create(CasesBlueprintsCreateParams.builder()
.name("AML investigation")
.assigneePool(List.of("9a000000-0000-4000-8000-0000000000aa"))
.assignmentMethod(CasesBlueprintsCreateParams.AssignmentMethod.of("AUTOMATIC"))
.maxActiveCases(15L)
.requireResolutionNote(true)
.contentConfig(CaseContentConfig.builder()
.amlControl(CaseContentConfig.AmlControl.builder()
.enabled(true)
.financial(true)
.identity(false)
.build())
.stages(CaseContentConfig.Stages.builder()
.items(List.of(CaseBlueprintStage.builder()
.label("Triage")
.slaHours(24L)
.build()))
.build())
.build())
.appliesTo(List.of(CaseBlueprintAppliesTo.of("AML")))
.build());
System.out.println(result);<?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->create([
'name' => 'AML investigation',
'assignee_pool' => ['9a000000-0000-4000-8000-0000000000aa'],
'assignment_method' => 'AUTOMATIC',
'max_active_cases' => 15,
'require_resolution_note' => true,
'content_config' => [
'aml_control' => [
'enabled' => true,
'financial' => true,
'identity' => false,
],
'stages' => [
'items' => [[
'label' => 'Triage',
'sla_hours' => 24,
]],
],
],
'applies_to' => ['AML'],
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
result = didit.cases.blueprints.create(
name: "AML investigation",
assignee_pool: ["9a000000-0000-4000-8000-0000000000aa"],
assignment_method: "AUTOMATIC",
max_active_cases: 15,
require_resolution_note: true,
content_config: {
aml_control: {
enabled: true,
financial: true,
identity: false,
},
stages: {
items: [{
label: "Triage",
sla_hours: 24,
}],
},
},
applies_to: ["AML"]
)
puts result.to_husing 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.CreateAsync(new CasesBlueprintsCreateParams
{
Name = "AML investigation",
AssigneePool = new string[] { "9a000000-0000-4000-8000-0000000000aa" },
AssignmentMethod = new CasesBlueprintsCreateParamsAssignmentMethod("AUTOMATIC"),
MaxActiveCases = 15,
RequireResolutionNote = true,
ContentConfig = new CaseContentConfig
{
AmlControl = new CaseContentConfigAmlControl
{
Enabled = true,
Financial = true,
Identity = false,
},
Stages = new CaseContentConfigStages
{
Items = new CaseBlueprintStage[]
{
new()
{
Label = "Triage",
SlaHours = 24,
},
},
},
},
AppliesTo = new CaseBlueprintAppliesTo[] { "AML" },
});
Console.WriteLine(JsonSerializer.Serialize(result));content_config validates the six content sections and optional stages section; unknown keys return 400.
Case types and stage teams
applies_to accepts up to six entries from GENERAL, VERIFICATION_REVIEW, BUSINESS_REVIEW, AML, TRANSACTION_MONITORING and DUPLICATES. It defaults to an empty list on creation.
Set content_config.stages.items[].worked_by to an active review-team UUID in the same application, or omit it or use null. An inactive, missing or other-application team returns 400. Each stage requires a nonblank label of at most 64 characters; optional sla_hours is 1 to 8760 or null. You can supply at most ten stages, each with a distinct key. The key resolved is reserved.
Cases retain the policy snapshot they accepted, including case types and stage teams. Later blueprint edits do not rewrite that snapshot.
Use Draft case blueprint with AI for an unsaved proposal, then select assignees and review the settings before creating the blueprint.
Related
Authorizations
Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.
Headers
Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. A failed request (any 4xx or 5xx) is not stored, so you can send it again with the same key. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.
1 - 255Path Parameters
Body
Case types this blueprint describes. Optional on create and update; new blueprints default to an empty list. Stored in the accepted case policy snapshot.
6GENERAL, VERIFICATION_REVIEW, BUSINESS_REVIEW, AML, TRANSACTION_MONITORING, DUPLICATES ["AML"]
Response
Blueprint created.
Case types this blueprint describes. Optional on create and update; new blueprints default to an empty list. Stored in the accepted case policy snapshot.
6GENERAL, VERIFICATION_REVIEW, BUSINESS_REVIEW, AML, TRANSACTION_MONITORING, DUPLICATES ["AML"]