POST
/v1/corepreferencesCreate corepreferences
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)namestringnullablemax length 64typestringnullablelabelstringnullablemax length 64businessUnitstringnullabletranslationsobjectnullablelabelstringnullabledescriptionstringnullablecustomCSSstringnullableisRequiredbooleaninternalDescriptionstringnullabledescriptionstringnullablemax length 512statusstringnullableinternalIDstringnullablefrequenciesIdsarray of stringnullablechannelsIdsarray of stringnullablepreferenceCatalogIdstringnullablehtmlstringnullableis_deletedbooleandeleted_atstring (date-time)nullableResponses
object CorePreference — same shape as the request body.
curl --request POST \
--url 'https://api.4comply.io/v1/corepreferences' \
--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",
"name": "Example name",
"type": "string",
"label": "Example label",
"businessUnit": "string",
"translations": {
"en": {
"label": "Example label",
"description": "Example text"
}
},
"customCSS": "string",
"isRequired": true,
"internalDescription": "string",
"description": "Example text",
"status": "active",
"internalID": "string",
"frequenciesIds": [
"string"
],
"channelsIds": [
"string"
],
"preferenceCatalogId": "00000000-0000-0000-0000-000000000000",
"html": "string",
"is_deleted": true,
"deleted_at": "2026-09-07T12:00:00Z"
}'