POST
/v1/ClientCreate Client
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
namestringrequiredmin length 1email_addressstringnullablepattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$first_namestringnullablelast_namestringnullablesample_databooleantenant_suffixstringnullableexisting_userbooleanexternal_idstringrequiredmin length 1aliasstringnullablebulk_request_delivery_methodstringnullablebulk_request_delivery_typestringnullablenamestringrequiredmin length 1descriptionstringnullabledefault_permission_valuestringrequiredmin length 1business_unitstringnullableidstringnullablenamestringrequiredmin length 1compliance_input_typestringrequiredmin length 1compliance_input_typesarray of stringnullableResponses
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)is4ComplyEnabledbooleanis4PreferencesEnabledbooleanis4SegmentsEnabledbooleanidstringnullabletenant_idstringnullablecreated_atstring (date-time)updated_atstring (date-time)email_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$first_namestringrequiredmin length 1last_namestringrequiredmin length 1user_levelstringrequiredmin length 1external_idstringnullableis_original_userbooleanAny JSON value. Not validated against a schema.
curl --request POST \
--url 'https://api.4comply.io/v1/Client' \
--header 'Authorization: Bearer sk_...' \
--header 'tenant_id: your-tenant-id' \
--header 'Content-Type: application/json' \
--data '{
"name": "Example name",
"email_address": "user@example.com",
"first_name": "Example name",
"last_name": "Example name",
"sample_data": true,
"tenant_suffix": "your-tenant",
"existing_user": true,
"external_id": "00000000-0000-0000-0000-000000000000",
"alias": "Example name",
"bulk_request_delivery_method": "string",
"bulk_request_delivery_type": "string",
"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"
]
}'