POST
/v1/RightsRequestConfigCreate Rights Request Config
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)regulation_idstringrequiredmin length 1request_typestringrequiredmin length 1namestringnullablestate_machine_namestringnullablenamestringrequiredmin length 1identifierstringrequiredmin length 1typestringrequiredmin length 1orderinteger (int32)requirednextinteger (int32)email_template_idstringnullableactionstringnullablevariable_to_check_for_choicestringnullablevariable_to_check_for_sending_emailstringnullablevariable_to_check_valuestringnullableif_failedstringnullableif_successstringnullableend_typestringnullablefulfillment_typestringnullablelink_to_update_formbooleanlink_to_access_formbooleanlink_to_change_consent_formbooleanhitl_template_idstringnullableblockingbooleanworkflow_step_completion_config_idstringnullableis_requiredbooleannamestringnullablenamestringnullablemessagestringnullableactionstringnullableoptionalbooleandisabledbooleanstartAtstringnullablesf_configstringnullableResponses
object RightRequestConfig — same shape as the request body.
curl --request POST \
--url 'https://api.4comply.io/v1/RightsRequestConfig' \
--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",
"regulation_id": "00000000-0000-0000-0000-000000000000",
"request_type": "string",
"name": "Example name",
"state_machine_name": "Example name",
"steps": [
{
"name": "Example name",
"identifier": "string",
"type": "string",
"order": 1,
"next": 1,
"config": {
"email_template_id": "user@example.com",
"action": "string",
"variable_to_check_for_choice": "string",
"variable_to_check_for_sending_email": "user@example.com",
"variable_to_check_value": "string",
"if_failed": "string",
"if_success": "string",
"end_type": "string",
"fulfillment_type": "string",
"link_to_update_form": true,
"link_to_access_form": true,
"link_to_change_consent_form": true,
"hitl_template_id": "00000000-0000-0000-0000-000000000000",
"blocking": true,
"completion_requirements": [
{
"workflow_step_completion_config_id": "00000000-0000-0000-0000-000000000000",
"is_required": true,
"name": "Example name"
}
]
},
"errorStates": [
{
"name": "Example name",
"message": "Example text",
"action": "string"
}
],
"optional": true,
"disabled": true
}
],
"startAt": "2026-09-07T12:00:00Z",
"sf_config": "string"
}'