Skip to main content
POST
Create Case

Authorizations

Authorization
string
header
required

OAuth2 access token obtained from POST /api/oauth/token/ using client credentials.

Body

Write serializer for GenericCase creation.

customer_id
integer
write-only

ID of an existing customer for this case

customer
object

Customer data to create a new customer with this case

webhook_url
string | null

Webhook sent on case completion.

Maximum string length: 511
checks
object[]
write-only

A list of checks to create with this case.

document_ids
integer[]
write-only

List of document IDs to link to this case

delete_after
integer

Number of days until deletion. Use 0 for immediate deletion, or -1 for indefinite retention (never delete). Defaults to -1.

assignee
string<email> | null
write-only

Email of the user to assign this case to. Must be a member of the organization.

metadata
object | null

Case-specific details for display in UI. Flexible JSON object.

sync_platforms
object | null

External platform references for outbound sync. List of dicts, e.g. [{"domain": "bofi--dev.sandbox.my.salesforce.com", "id": "500WA..."}]

case_config
string
write-only

Slug of a CaseConfig or DualCaseConfig. For a CaseConfig, auto-generates checks from the config. Cannot be used together with 'checks'. For a DualCaseConfig (pairs KYB + KYC configs), creates a parent KYB case; when started, child KYC cases are auto-created for each shareholder extracted from documents.

auto_start
boolean
write-only

Whether to automatically start processing the case after creation. Defaults to true. Set to false to create a case without starting it (you can start it later via POST /cases/{id}/start/).

external_id
string | null

External ID for the case. Auto-generated UUID if not provided. Stable across reruns.

Maximum string length: 512

Response

201 - application/json

Read-only serializer for GenericCase with related objects.

id
integer
required
read-only
external_id
string
required
read-only

External ID for the case. Auto-generated UUID if not provided. Stable across reruns.

origin_url
string | null
required
read-only

Deprecated alias for external_id.

customer
object
required

Nested customer serializer for GenericCase responses.

note
string | null
required
read-only
risk_score
number<double> | null
required
read-only

Risk score (max of check risk scores for the case).

outcome
enum<string> | null
required
read-only
  • ACCEPTED - Accepted
  • REJECTED - Rejected
  • PENDING - Pending
Available options:
ACCEPTED,
REJECTED,
PENDING,
null
is_started
boolean
required
read-only
is_complete
boolean
required
read-only
failed
boolean
required
read-only
created_at
string<date-time>
required
read-only
updated_at
string<date-time>
required
read-only
checks
object[]
required
read-only
rfi
object | null
required
read-only
webhook_url
string | null

Webhook sent on case completion.

Maximum string length: 511
delete_after
integer

Days until deletion. -1 means never delete.

Required range: -2147483648 <= x <= 2147483647
metadata
object | null

Case-specific metadata in JSON format.

sync_platforms
object | null

External platform references for outbound sync. List of dicts, e.g. [{"domain": "bofi--dev.sandbox.my.salesforce.com", "id": "500WA..."}]