Skip to content

Group tasks

Save settings

Replaces the settings: send the whole object (read it first with Get settings). available and unavailable_reason are read-only and ignored. Returns the saved settings.

PUT/api/v1/group-tasks/settings
  • Console only: owner or admin
  • Workspace: X-Tenant-ID

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
  • enabledbooleanoptional

    Whether the tracker runs.

  • all_groupsbooleanoptional

    Watch every group, not only group_ids.

  • group_idsarray<uuid>optional

    Conversation ids of the groups to watch when all_groups is false.

  • followup_interval_minutesintegeroptional

    Minutes between follow-ups.

    Constraints
    30, 60, 120, 240 or 1440.
    Default
    30
  • quiet_hours_startstringoptional

    No messages from this time (24-hour, the workspace time zone).

    Constraints
    HH:MM, 00:00–23:59.
    Example
    21:00
  • quiet_hours_endstringoptional

    Messages resume at this time.

    Constraints
    HH:MM, 00:00–23:59.
    Example
    09:00
  • max_reminders_per_person_dayintegeroptional

    At most this many reminders to one person per day, across all their tasks.

    Constraints
    1–50.
    Default
    8
  • max_reminders_per_taskintegeroptional

    After this many reminders on one task, the tracker stops and tells the assigner.

    Constraints
    1–200.
    Default
    20
  • notify_assignerbooleanoptional

    Tell the assigner when a deadline is missed and when the task is done.

    Default
    true
  • include_owner_tasksbooleanoptional

    Also track tasks assigned to the number’s owner.

    Default
    false
  • excluded_jidsarray<string>optional

    People never to follow up (WhatsApp ids).

Response

200 OKapplication/json

  • enabledboolean

    Whether the tracker runs.

  • all_groupsboolean

    Watch every group, not only group_ids.

  • group_idsarray<uuid>

    Conversation ids of the groups to watch when all_groups is false.

  • followup_interval_minutesinteger

    Minutes between follow-ups.

    Constraints
    30, 60, 120, 240 or 1440.
    Default
    30
  • quiet_hours_startstring

    No messages from this time (24-hour, the workspace time zone).

    Constraints
    HH:MM, 00:00–23:59.
    Example
    21:00
  • quiet_hours_endstring

    Messages resume at this time.

    Constraints
    HH:MM, 00:00–23:59.
    Example
    09:00
  • max_reminders_per_person_dayinteger

    At most this many reminders to one person per day, across all their tasks.

    Constraints
    1–50.
    Default
    8
  • max_reminders_per_taskinteger

    After this many reminders on one task, the tracker stops and tells the assigner.

    Constraints
    1–200.
    Default
    20
  • notify_assignerboolean

    Tell the assigner when a deadline is missed and when the task is done.

    Default
    true
  • include_owner_tasksboolean

    Also track tasks assigned to the number’s owner.

    Default
    false
  • excluded_jidsarray<string>

    People never to follow up (WhatsApp ids).

  • availableboolean

    Read-only: whether the tracker can run (a QR-linked number, AI allowed). Ignored on PUT.

  • unavailable_reasonstring

    Read-only: why it cannot run, or "". Ignored on PUT.

Status codes

  • 200OK. The saved settings.
  • 400Bad request. followup_interval_minutes must be 30, 60, 120, 240 or 1440, quiet_hours_start and quiet_hours_end must be HH:MM, max_reminders_per_person_day must be 1–50, max_reminders_per_task must be 1–200, group_ids must be conversation ids, invalid body, 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.
  • 403Forbidden. The change is not allowed for this caller.
  • 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 settings could not be saved.