Complete a task

Cortex XSOAR 6 API

post /v2/inv-playbook/task/form/submit

Submit a data collection task with given answers and multiple file attachments

CURL
curl -X POST \ -H "Authorization: [[apiKey]]" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ "https://hostname:443/v2/inv-playbook/task/form/submit"
Authentication: api_key Api Key "Authorization"
Form parameters
investigationId
required
String
investigation ID
Example: investigationId_example
taskId
required
String
Task Id
Example: taskId_example
answers
required
String
the answers to the task form. Answers are keyed by numerical question id
Example: answers_example
file
optional
Object format: binary
Files to attach to the task format: binary
Example: BINARY_DATA_HERE
Responses

InvestigationPlaybook

Body
InvestigationPlaybook