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.
- Console only: owner or admin
- Workspace:
X-Tenant-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/jsonenabledbooleanoptionalWhether the tracker runs.
all_groupsbooleanoptionalWatch every group, not only
group_ids.group_idsarray<uuid>optionalConversation ids of the groups to watch when
all_groupsisfalse.followup_interval_minutesintegeroptionalMinutes between follow-ups.
quiet_hours_startstringoptionalNo messages from this time (24-hour, the workspace time zone).
quiet_hours_endstringoptionalMessages resume at this time.
max_reminders_per_person_dayintegeroptionalAt most this many reminders to one person per day, across all their tasks.
max_reminders_per_taskintegeroptionalAfter this many reminders on one task, the tracker stops and tells the assigner.
notify_assignerbooleanoptionalTell the assigner when a deadline is missed and when the task is done.
include_owner_tasksbooleanoptionalAlso track tasks assigned to the number’s owner.
excluded_jidsarray<string>optionalPeople never to follow up (WhatsApp ids).
Response
200 OKapplication/json
enabledbooleanWhether the tracker runs.
all_groupsbooleanWatch every group, not only
group_ids.group_idsarray<uuid>Conversation ids of the groups to watch when
all_groupsisfalse.followup_interval_minutesintegerMinutes between follow-ups.
quiet_hours_startstringNo messages from this time (24-hour, the workspace time zone).
quiet_hours_endstringMessages resume at this time.
max_reminders_per_person_dayintegerAt most this many reminders to one person per day, across all their tasks.
max_reminders_per_taskintegerAfter this many reminders on one task, the tracker stops and tells the assigner.
notify_assignerbooleanTell the assigner when a deadline is missed and when the task is done.
include_owner_tasksbooleanAlso track tasks assigned to the number’s owner.
excluded_jidsarray<string>People never to follow up (WhatsApp ids).
availablebooleanRead-only: whether the tracker can run (a QR-linked number, AI allowed). Ignored on PUT.
unavailable_reasonstringRead-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 getsadmin required; a user who is not a member of the workspace getsforbidden. - 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"). Seeunavailable_reasonin Get settings. - 500Server error. The settings could not be saved.