Smileline
TasksTasksIdComplete

Complete a task

Sets status=done, stamps completedAt/completedById and appends a timeline activity when the task has a patient. Idempotent. 409 when the lead is locked by another user on the Today page (LOCKED), or for a compliance check's task, which closes only by recording the check (COMPLIANCE_TASK_NEEDS_ENTRY); 503 when that lock could not be checked (LOCK_CHECK_UNAVAILABLE, nothing saved) or the save was interrupted (SAVE_INTERRUPTED) — retry the request.

Loading the API reference…