curl --location --request POST 'https://api-develop.enspace.io/c-stage-tasks' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Test Task",
"description": "nose",
"start_type": "stage_enter",
"icon": "carbon:health",
"action": "use_integration",
"integration": 2,
"integration_data": {
"action": "uploadAndSign",
"document_field": "docs",
"document_title": "api",
"signers_field": "113",
"signer_map": {
"name": "nome",
"email": "email",
"role": "acao",
"auth": "autenticacao"
}
},
"sla_origin": "task_created",
"sla_type": "workDays",
"sla": 3,
"responsibility_type": "request_user",
"stage": 1
}'