Skip to content

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.

PATCH/api/v1/group-tasks/{id}
  • Console only: owner or admin
  • Workspace: X-Tenant-ID

Path parameters

  • iduuidrequired

    Task id.

    Example
    3c9a1e57-2b4d-4f6a-8c1e-7d5b9a0f2e14

Headers

  • Cookiestringrequired

    The whatsappx_session cookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.

    Example
    whatsappx_session=…
  • X-Tenant-IDuuidrequired

    Workspace id. Required for session requests. You can pass ?tenant=<id> instead.

    Example
    8d0f6c2e-3b1a-4c55-9a7e-2f4b6d1e9c30

Body

application/json
  • statusenumoptional

    New status.

    Constraints
    open, done, cancelled or paused.
    Example
    done
  • due_attimestampoptional

    Sets the committed deadline (RFC 3339).

    Example
    2026-10-20T15:00:00Z
  • descriptionstringoptional

    New description. Leading and trailing spaces are removed.

    Constraints
    1–500 characters.

Response

200 OKapplication/json

  • iduuid

    Task id.

  • descriptionstring

    What has to be done (1–500 characters).

  • statusenum

    open, done, cancelled or paused (the person said stop, or a question went to the owner).

  • groupobject

    The group the task was assigned in.

    Show child attributesHide child attributes3
    • conversation_iduuid

      Conversation id of the group.

    • namestring

      Group name.

    • jidstring

      WhatsApp id of the group.

  • assignerobject

    Who gave the task.

    Show child attributesHide child attributes3
    • jidstring

      WhatsApp id of the person.

    • namestring

      Name as saved in your contacts or shown in WhatsApp.

    • phonestring

      Number in E.164 with +, or "" when WhatsApp hides it.

  • assigneeobject

    Who has to do it.

    Show child attributesHide child attributes3
    • jidstring

      WhatsApp id of the person.

    • namestring

      Name as saved in your contacts or shown in WhatsApp.

    • phonestring

      Number in E.164 with +, or "" when WhatsApp hides it.

  • assigned_attimestamp

    When the task was given in the group.

  • due_attimestampnullable

    A deadline given in the group.

  • committed_due_attimestampnullable

    The deadline the assignee promised (or one you set with PATCH).

  • missed_deadlinesinteger

    How many deadlines were missed.

  • days_lateinteger

    Days past the deadline; 0 when on time.

  • followups_sentinteger

    Follow-ups sent so far.

  • next_followup_attimestampnullable

    When the next follow-up is due.

  • last_followup_attimestampnullable

    When the last follow-up went out.

  • last_replystring

    The assignee’s last reply about the task.

  • last_reply_attimestampnullable

    When that reply arrived.

  • done_attimestampnullable

    When the task was marked done.

  • source_message_idstring

    WhatsApp 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 gets admin required; a user who is not a member of the workspace gets forbidden.
  • 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"). See unavailable_reason in Get settings.
  • 500Server error. The task could not be updated.