curl --request PUT \ --url https://copilotz.com/rest/tasks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "extId": "This is an external ID if you want to match an external system.", "workflow": 1, "currentStep": 1, "status": "active", "name": "Task Name", "description": "This is the description you want to give for your task.", "context": {}}'
Copy
{ "extId": "This is an external ID if you want to match an external system.", "workflow": 1, "currentStep": 1, "status": "active", "name": "Task Name", "description": "This is the description you want to give for your task.", "context": {}}
Tasks
Edit by Id
PUT
/
rest
/
tasks
/
{id}
Edit by Id
Copy
curl --request PUT \ --url https://copilotz.com/rest/tasks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "extId": "This is an external ID if you want to match an external system.", "workflow": 1, "currentStep": 1, "status": "active", "name": "Task Name", "description": "This is the description you want to give for your task.", "context": {}}'
Copy
{ "extId": "This is an external ID if you want to match an external system.", "workflow": 1, "currentStep": 1, "status": "active", "name": "Task Name", "description": "This is the description you want to give for your task.", "context": {}}