subjectRecord.create

Create a Subject Record to serve as a container for related entity information..

POST http://api.kompliant.com/subjectRecord.create (OpenAPI specification)

Usage Info

The Subject Record contains details about the entity that the workflow activity will be performed against. Before details about the entity can be added, a Subject Record must be created.

The Subject Record functions as the foundational container that organizes all related entities (Business, Person, Bank Account) into a cohesive unit. This method establishes the core record that Workflows will operate on, allowing you to collect and process information about a specific subject. Create a Subject Record first when you need to manually build entity relationships before initiating any Workflow.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
account_idstringYesThe account where the subject record will be created. The Account ID is supplied to you when you receive your credentials.
subject_recordobjectYesThe subject record parameter defined in the table below.

Subject Record

ParameterTypeRequiredDescription
typestringYesThe type of subject record. Must be one of SUBJECT_RECORD_TYPES.

Example

{
  "account_id": "sb_j8gh53b",
  "subject_record": {
    "type": "BUSINESS"
  }
}

Response

Data

ParameterTypeDescription
subject_recordobjectThe subject record parameter defined in the table below.

Subject Record Parameters

ParameterTypeDescription
subject_record_idstringThe identifier for the Subject Record just created.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_2G7ieBCFVylEc6FyO0Ni3",
    "version": "2025-03-24"
  },
  "data": {
    "subject_record": {
      "subject_record_id": "sr_4vrv6U1vdpc341MO7cF8pE"
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400The type provided is not one of the SUBJECT_RECORD_TYPES.
Invalid values provided.
ENTITY_NOT_FOUND400The account_idprovided does not exist.