ChatofyDevelopers
REST APIMCP Server (AI)New
API KeysWebhooks
Chatofy API
/
Getting Started
API Resources
API v1.0 Live
Developer APITasks & Follow-upsComplete Task

Complete Task

Marks a task as done, records completed_at timestamp in IST, and logs a task_completed event to the contact activity timeline.

POST/api/v1/tasks/{id}/complete

Body Parameters

1 parameter
{id}uuidrequired

Task UUID

Response Payload

200 OKapplication/json
statusstring

"1" = Success, "0" = Failure.

messageobject

The response data payload.

Code Snippets & Examples

1curl -X POST "https://app.chatofy.in/api/v1/tasks/tsk-001/complete" \
2 -H "Authorization: Bearer YOUR_API_KEY"

Was this endpoint guide helpful?

Previous Endpoint
Update Task
Next Endpoint
Snooze Task
© 2026 Chatofy Cloud Platform. All rights reserved.
1curl -X POST "https://app.chatofy.in/api/v1/tasks/tsk-001/complete" \
2 -H "Authorization: Bearer YOUR_API_KEY"
200 OKapplication/json
1{
2 "success": true,
3 "data": {
4 "task": {
5 "id": "tsk-001",
6 "status": "done",
7 "completed_at": "2026-10-26T22:55:00+05:30",
8 "updated_at": "2026-10-26T22:55:00+05:30"
9 }
10 },
11 "message": "Task completed successfully"
12}