cURL
curl --request POST \ --url http://localhost:3000/v2/tasks/{id}/complete \ --header 'Content-Type: application/json' \ --data ' { "sendEmail": false, "emailText": "The task has been completed successfully.", "recipientEmail": "customer@example.com" } '
{ "completed": true }
Mark a task as completed with optional email notification. Optionally sends a completion email to a specified recipient.
Task ID to complete
Task completion data
Whether to send completion email
Custom completion message to send in email
"The task has been completed successfully."
Email address to send completion notification to
"customer@example.com"
Task completed successfully
Completion success indicator
true
Was this page helpful?