Skip to main content
POST
Complete task

Path Parameters

id
string<objectid>
required

Task ID to complete

Body

application/json

Task completion data

sendEmail
boolean
default:false

Whether to send completion email

emailText
string

Custom completion message to send in email

Example:

"The task has been completed successfully."

recipientEmail
string<email>

Email address to send completion notification to

Example:

"customer@example.com"

Response

Task completed successfully

completed
boolean

Completion success indicator

Example:

true