Group tasks
List tasks
Returns one page of group tasks, open tasks by default. Pass next_cursor back as cursor for the next page; an empty next_cursor means the last page. Agents see the tasks of the groups they can see; API keys read the whole workspace.
- Bearer API key
- Scope:
read, write or admin - or app session
- Workspace:
X-Tenant-ID(optional with a key)
Headers
AuthorizationstringrequiredYour API key as
Bearer <key>. The wordBearerand the space are case-sensitive. Browser clients signed in to the app use the session cookie instead.X-Tenant-IDuuidoptionalWorkspace id. Optional with an API key (a key always acts in its own workspace); if you send it, it must match the key’s workspace. Required with a session cookie. You can pass
?tenant=<id>instead.
Query parameters
statusenumoptionalWhich tasks to return.
assigneestringoptionalOnly tasks of this person (WhatsApp id, the
assignee.jidof a task).groupuuidoptionalOnly tasks from this group (its conversation id).
qstringoptionalText to search for in the description.
cursorstringoptionalThe
next_cursorof the previous page.limitintegeroptionalTasks per page. Values outside the range are clamped.
Response
200 OKapplication/json
itemsarray<GroupTask>Tasks on this page.
Show child attributesHide child attributes18
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.
next_cursorstringCursor for the next page, or
""on the last page.
Status codes
- 200OK. One page of tasks.
- 400Bad request.
status must be open, done, cancelled, paused or all,limit must be a number,invalid group idorq must be at most 200 characters. - 401Unauthorized. The API key is unknown, revoked or expired (
invalid or expired API key), the key was blocked because it may have been leaked (code: "api_key_blocked"), or there is no key and no signed-in session (unauthorized). - 402Payment required. Only when subscriptions are enforced and the workspace has no active subscription. The body includes
code: "payment_required". - 403Forbidden. The
X-Tenant-IDheader ortenantquery does not match the API key’s workspace (API key belongs to a different workspace), a signed-in user is not a member of the workspace (forbidden), or the key is limited to other IP addresses (this API key is not allowed from your IP address, withcode: "ip_not_allowed"). - 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 tasks could not be loaded.
How it works
- Tasks from @mentions. In the groups you enable, the AI reads messages that @mention people with something to do and creates one task per person.
- One private list. Each person gets a single private WhatsApp message with their open tasks. If no deadline was given in the group, they are asked for a timeline once a day, at most 3 times; then the reminders stop and you are told.
- Follow-ups at your interval. Reminders go out every
followup_interval_minutesuntil the task is done. After a missed deadline the follow-ups get firmer (at most every 3 hours), and the assigner is told. When the person answers, the next reminder waits a day unless they gave a time. Tasks from a group you stop tracking are not reminded. - Ongoing duties are not tasks. Standing instructions ("coordinate with vendors", "post one video per vendor") are not turned into tasks with reminders.
- Done. When the person says it is done, the task closes and the assigner is told.
- Your number is protected. Quiet hours, a daily cap per person and a cap per task keep the volume low.