POST/v1/citizens/complianceinput/batch

Create complianceinput batch

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

recordsarray of objectComplianceInputWithGeonullable
idstringnullable
tenant_idstringnullable
created_atstring (date-time)
updated_atstring (date-time)
created_at_isostringnullable
updated_at_isostringnullable
system_typestringnullable
systemstringnullable
system_idstringnullable
system_record_idstringnullable
system_record_typestringnullable
email_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$
user_idstringnullable
consent_codestringnullable
standard_countrystringnullable
standard_statestringnullable
permission_sourcestringnullable
processing_purposestringnullable
permission_typestringnullable
regulation_idstringnullable
regulation_namestringnullable
business_unitstringnullable
meansstringnullable
external_sourcestringnullable
privacy_notice_versionstringnullable
consent_languagestringnullable
custom_field_1stringnullable
custom_field_2stringnullable
activity_datestring (date-time)
custom_field_3stringnullable
custom_field_4stringnullable
custom_field_5stringnullable
custom_field_6string (date-time)
custom_field_7string (date-time)
input_entitystringnullable
expirationstring (date-time)nullable
input_countrystringnullable
input_statestringnullable

Responses

resultsarray of objectComplianceBatchItemResultnullable
system_record_idstringnullable
email_addressstringnullable
successboolean
reject_reasonstringnullable
idstringnullable
totalinteger (int32)
succeededinteger (int32)
failedinteger (int32)
curl --request POST \
  --url 'https://api.4comply.io/v1/citizens/complianceinput/batch' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "records": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "tenant_id": "your-tenant-id",
      "created_at": "2026-09-07T12:00:00Z",
      "updated_at": "2026-09-07T12:00:00Z",
      "created_at_iso": "2026-09-07T12:00:00Z",
      "updated_at_iso": "2026-09-07T12:00:00Z",
      "system_type": "string",
      "system": "string",
      "system_id": "00000000-0000-0000-0000-000000000000",
      "system_record_id": "00000000-0000-0000-0000-000000000000",
      "system_record_type": "string",
      "email_address": "user@example.com",
      "user_id": "00000000-0000-0000-0000-000000000000",
      "consent_code": "example-code",
      "standard_country": "US",
      "standard_state": "CA",
      "permission_source": "string",
      "processing_purpose": "string",
      "permission_type": "string",
      "regulation_id": "00000000-0000-0000-0000-000000000000",
      "regulation_name": "Example name",
      "business_unit": "string",
      "means": "string",
      "external_source": "string",
      "privacy_notice_version": "1",
      "consent_language": "en",
      "custom_field_1": "string",
      "custom_field_2": "string",
      "activity_date": "2026-09-07T12:00:00Z",
      "custom_field_3": "string",
      "custom_field_4": "string",
      "custom_field_5": "string",
      "custom_field_6": "2026-09-07T12:00:00Z",
      "custom_field_7": "2026-09-07T12:00:00Z",
      "input_entity": "string",
      "expiration": "2026-09-07T12:00:00Z",
      "input_country": "US",
      "input_state": "CA"
    }
  ]
}'