POST
/v1/LegalActivitiesCreate Legal Activities
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
idstringnullabletenant_idstringnullablecreated_atstring (date-time)updated_atstring (date-time)created_at_isostringnullableupdated_at_isostringnullablesystem_typestringnullablesystemstringnullablesystem_idstringnullablesystem_record_idstringnullablesystem_record_typestringnullableconsent_idstringnullableemail_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$regulation_idstringnullableregulation_namestringnullableactivity_atstring (date-time)activity_typestringnullableinput_countrystringnullableinput_statestringnullablestandard_countrystringnullablestandard_statestringnullableconsent_codestringnullableright_workflow_idstringnullableright_workflow_step_namestringnullableinput_entitystringnullablebusiness_unitstringnullablepermission_typestringnullableprocessing_purposestringnullableexternal_sourcestringnullableResponses
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"
}'