POST/v1/citizens/permissions/getCalculatedBatch

Create permissions get Calculated Batch

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Request body application/json

array of objectPermissionTypeBody
emailstringnullable
permission_typestringnullable

Responses

reason_codestringnullable
email_addressstringnullable
tenant_idstringnullable
permission_valuestringnullable
permission_typestringnullable
permission_entriesarray of objectCitizenPermissionnullable
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,})$
user_idstringnullable
business_unitstringnullable
permission_typestringnullable
consent_idstringnullable
standard_countrystringnullable
standard_statestringnullable
expirationstring (date-time)
processing_purposestringnullable
consent_sourcestringnullable
permission_categorystringnullable
regulation_idstringnullable
regulation_namestringnullable
activity_datestring (date-time)
meansstringnullable
external_sourcestringnullable
privacy_notice_versionstringnullable
consent_languagestringnullable
custom_field_1stringnullable
custom_field_2stringnullable
custom_field_3stringnullable
custom_field_4stringnullable
custom_field_5stringnullable
custom_field_6string (date-time)
custom_field_7string (date-time)
curl --request POST \
  --url 'https://api.4comply.io/v1/citizens/permissions/getCalculatedBatch' \
  --header 'Authorization: Bearer sk_...' \
  --header 'tenant_id: your-tenant-id' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "email": "user@example.com",
    "permission_type": "string"
  }
]'