POST/v1/contactpreferences/individual

Create contactpreferences individual

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

emailstringnullable
corePreferenceIdstringnullable
valuestringnullable
channelsstringnullable
frequenciesstringnullable
sourcestringnullable

Responses

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
email_addressstringrequiredmin length 1pattern ^[\w!#$%&'*+\-\/=?^`{|}~]+(\.{0,2}[\w!#$%&'*+\-\/=?^`{|}~]+)*\@([a-zA-Z0-9\-_]+\.?)*([a-zA-Z0-9\-_]{1,}\.[a-zA-Z0-9\-_]{1,})$
masterPreference_Idstringnullable
valuestringnullable
channelsstringnullable
frequenciesstringnullable
sourcestringnullable
curl --request POST \
  --url 'https://api.4comply.io/v1/contactpreferences/individual' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "corePreferenceId": "00000000-0000-0000-0000-000000000000",
  "value": "string",
  "channels": "string",
  "frequencies": "string",
  "source": "string"
}'