POST/v1/LegalActivities

Create Legal Activities

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

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
consent_idstringnullable
email_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$
regulation_idstringnullable
regulation_namestringnullable
activity_atstring (date-time)
activity_typestringnullable
input_countrystringnullable
input_statestringnullable
standard_countrystringnullable
standard_statestringnullable
consent_codestringnullable
right_workflow_idstringnullable
right_workflow_step_namestringnullable
input_entitystringnullable
business_unitstringnullable
permission_typestringnullable
processing_purposestringnullable
external_sourcestringnullable

Responses

object LegalActivity — same shape as the request body.

curl --request POST \
  --url 'https://api.4comply.io/v1/LegalActivities' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "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",
  "consent_id": "00000000-0000-0000-0000-000000000000",
  "email_address": "user@example.com",
  "regulation_id": "00000000-0000-0000-0000-000000000000",
  "regulation_name": "Example name",
  "activity_at": "2026-09-07T12:00:00Z",
  "activity_type": "string",
  "input_country": "US",
  "input_state": "CA",
  "standard_country": "US",
  "standard_state": "CA",
  "consent_code": "example-code",
  "right_workflow_id": "00000000-0000-0000-0000-000000000000",
  "right_workflow_step_name": "Example name",
  "input_entity": "string",
  "business_unit": "string",
  "permission_type": "string",
  "processing_purpose": "string",
  "external_source": "string"
}'