Group tasks
Update a task
Send only the fields you want to change. Marking a task done stops its follow-ups (and tells the assigner when notify_assigner is on). Returns the updated task.
- Console only: owner or admin
- Workspace:
X-Tenant-ID
Path parameters
iduuidrequiredTask id.
Headers
CookiestringrequiredThe
whatsappx_sessioncookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.X-Tenant-IDuuidrequiredWorkspace id. Required for session requests. You can pass
?tenant=<id>instead.
Body
application/jsonstatusenumoptionalNew status.
due_attimestampoptionalSets the committed deadline (RFC 3339).
descriptionstringoptionalNew description. Leading and trailing spaces are removed.
Response
200 OKapplication/json
iduuidTask id.
descriptionstringWhat has to be done (1–500 characters).
statusenumopen,done,cancelledorpaused(the person said stop, or a question went to the owner).groupobjectThe group the task was assigned in.
Show child attributesHide child attributes3
conversation_iduuidConversation id of the group.
namestringGroup name.
jidstringWhatsApp id of the group.
assignerobjectWho gave the task.
Show child attributesHide child attributes3
jidstringWhatsApp id of the person.
namestringName as saved in your contacts or shown in WhatsApp.
phonestringNumber in E.164 with
+, or""when WhatsApp hides it.
assigneeobjectWho has to do it.
Show child attributesHide child attributes3
jidstringWhatsApp id of the person.
namestringName as saved in your contacts or shown in WhatsApp.
phonestringNumber in E.164 with
+, or""when WhatsApp hides it.
assigned_attimestampWhen the task was given in the group.
due_attimestampnullableA deadline given in the group.
committed_due_attimestampnullableThe deadline the assignee promised (or one you set with PATCH).
missed_deadlinesintegerHow many deadlines were missed.
days_lateintegerDays past the deadline;
0when on time.followups_sentintegerFollow-ups sent so far.
next_followup_attimestampnullableWhen the next follow-up is due.
last_followup_attimestampnullableWhen the last follow-up went out.
last_replystringThe assignee’s last reply about the task.
last_reply_attimestampnullableWhen that reply arrived.
done_attimestampnullableWhen the task was marked done.
source_message_idstringWhatsApp id of the group message that created the task.
Status codes
- 200OK. The updated task.
- 400Bad request. No field was sent (
provide status, due_at or description),status must be open, done, cancelled or paused,description must be 1–500 characters, the body is not valid JSON (invalid body), the id is invalid (invalid group task id), or the tracker refused the change (invalid group task change). - 401Unauthorized. No signed-in session (
unauthorized). - 403Forbidden. API keys can never call this endpoint (
API keys cannot administer workspaces). A signed-in user who is not an owner or admin getsadmin required; a user who is not a member of the workspace getsforbidden. - 404Not found. No task with this id in the workspace, or (for an agent) a task they may not see.
- 409Conflict. The tracker cannot run for this workspace right now, for example the number is not linked by QR or AI is turned off (
code: "group_tasks_unavailable"). Seeunavailable_reasonin Get settings. - 500Server error. The task could not be updated.