POST
/v1/baseregulationsCreate baseregulations
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
idstringnullablenamestringnullabletenant_suffixstringnullableidstringnullabletenant_idstringnullablecustom_email_domainstringnullableclient_logo_urlstringnullableclient_favicon_urlstringnullabledefault_email_addressstringnullablesecondary_email_addressesarray of stringnullablebulk_request_delivery_methodstringnullablebulk_request_delivery_typestringnullablepermission_update_logicstringnullablealiasstringnullablenamestringrequiredmin length 1descriptionstringnullabledefault_permission_valuestringrequiredmin length 1business_unitstringnullableidstringnullablenamestringrequiredmin length 1compliance_input_typestringrequiredmin length 1compliance_input_typesarray of stringnullablecustom_field_1_namestringnullablecustom_field_2_namestringnullablecustom_field_3_namestringnullablecustom_field_4_namestringnullablecustom_field_5_namestringnullablecustom_field_6_namestringnullablecustom_field_7_namestringnullablereadRightsRequestinteger (int64)writeRightsRequestinteger (int64)writeConsentinteger (int64)readConsentinteger (int64)writePermissioninteger (int64)readPermissioninteger (int64)writeLegalActivityinteger (int64)readLegalActivityinteger (int64)writeLegalActivityErrorinteger (int64)readLegalActivityErrorinteger (int64)segments_tenant_idstringnullablecreated_atstring (date-time)updated_atstring (date-time)is4ComplyEnabledbooleanis4PreferencesEnabledbooleanis4SegmentsEnabledbooleanResponses
object Client — same shape as the request body.
curl --request POST \
--url 'https://api.4comply.io/v1/baseregulations' \
--header 'Authorization: Bearer sk_...' \
--header 'tenant_id: your-tenant-id' \
--header 'Content-Type: application/json' \
--data '{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Example name",
"tenant_suffix": "your-tenant",
"config_id": {
"id": "00000000-0000-0000-0000-000000000000",
"tenant_id": "your-tenant-id",
"custom_email_domain": "user@example.com",
"client_logo_url": "https://example.com",
"client_favicon_url": "https://example.com",
"default_email_address": "user@example.com",
"secondary_email_addresses": [
"user@example.com"
],
"bulk_request_delivery_method": "string",
"bulk_request_delivery_type": "string",
"permission_update_logic": "string",
"alias": "Example name",
"explicit_permission_types": [
{
"name": "Example name",
"description": "Example text",
"default_permission_value": "string",
"business_unit": "string"
}
],
"permission_categories": [
{
"id": "00000000-0000-0000-0000-000000000000",
"name": "Example name",
"compliance_input_type": "string"
}
],
"compliance_input_types": [
"string"
],
"custom_field_config": {
"custom_field_1_name": "Example name",
"custom_field_2_name": "Example name",
"custom_field_3_name": "Example name",
"custom_field_4_name": "Example name",
"custom_field_5_name": "Example name",
"custom_field_6_name": "Example name",
"custom_field_7_name": "Example name"
}
},
"metering": {
"readRightsRequest": 1,
"writeRightsRequest": 1,
"writeConsent": 1,
"readConsent": 1,
"writePermission": 1,
"readPermission": 1,
"writeLegalActivity": 1,
"readLegalActivity": 1,
"writeLegalActivityError": 1,
"readLegalActivityError": 1
},
"segments_tenant_id": "your-tenant-id",
"created_at": "2026-09-07T12:00:00Z",
"updated_at": "2026-09-07T12:00:00Z",
"is4ComplyEnabled": true,
"is4PreferencesEnabled": true,
"is4SegmentsEnabled": true
}'