Team inbox
The Team inbox is where your team answers the customers your assistant passes to a person. In the dashboard it is Team inbox in the menu, with a number that shows how many customers are waiting. It is deliberately small: it does the few things a handoff needs, on a computer or a phone. Everything it does is also available through the API, so you can build the same flow into your own tools.
The lists
Section titled “The lists”| Tab | Shows |
|---|---|
| Waiting for you | Chats nobody has taken yet: urgent ones first (damage and legal claims), then the oldest. |
| Mine | Chats you took that aren’t finished yet, urgent ones first. |
| All | Every chat passed to your team: waiting, taken, finished or timed out. |
| Finished | Chats given back to the assistant, ended, or timed out. |
Waiting for you and Mine show how many chats they hold, and the number next to Team inbox in the menu is the Waiting for you count. Each list shows up to 50 chats. Test chats from Try your assistant never come here, and neither do handoffs from one-shot ask calls, which have no chat to reply in (see One-shot answers).
While the Team inbox is open, its lists and counts refresh every 10 seconds, and an open chat updates live as messages arrive. On other pages, the number in the menu refreshes every 30 seconds. To hear about new chats when nobody is looking at the dashboard, subscribe a webhook to handoff.requested and handoff.unclaimed.
A chat in the list
Section titled “A chat in the list”Each chat in a list shows:
- why it was passed (
reason_type): Wants a person, Outside what it answers, Complaint, Damage or legal claim or Technical problem, and Urgent for high-priority chats (priority: "high", given to damage and legal claims); - how long ago it came in;
- the assistant’s short summary of what the customer needs;
- which assistant passed it, and who has it: Not taken yet, You or a teammate’s name.
Pick a chat to open it next to the list (on a phone it opens in place, with Back to the list). At the top you see its status (Waiting, Taken, Finished or Timed out), who has it, and when it goes back to the assistant if nobody finishes it. Below is the whole conversation, which updates live: the customer’s messages, the assistant’s replies, your team’s replies and notes, and notices such as the time-out message. The customer’s contact details, where the chat came from and its IDs are on the chat’s page in Conversations.
Actions
Section titled “Actions”| In the dashboard | What happens | API |
|---|---|---|
| Take this chat | The chat is yours, and the cursor moves to the reply box. The first person to take it gets it: a teammate’s chat shows their name instead of the button, and anyone who took it a moment too late is told who has it (409 handoff_). Taking it pushes the time-out back. |
POST /v1/ with {"assignee": "me"} |
| Take over (owners and admins, on a teammate’s chat) | After you confirm, the chat moves to you and the cursor moves to the reply box. | POST /v1/ with {"assignee": "me", "force": true} |
| Send reply | Your reply reaches the customer at once: in the widget, on the session stream and in message.created webhooks. It pushes the time-out back. |
POST /v1/ with {"role": "human_ |
| Add note, with Note for your team switched on | Only your team sees it, never the customer or the AI. It pushes the time-out back. | Same, with "visibility": "internal" |
| Give back to the assistant | The assistant answers the customer’s next message, aware of your replies. The optional Note for the assistant is given to it once, as internal context; the customer never sees it. | POST /v1/ with {"action": "release", "note": "…"} |
| End chat | The handoff and the conversation are closed. If the customer writes again, the conversation reopens and the assistant answers. | POST /v1/ with {"action": "close"} |
Ctrl+Enter (⌘+Enter on a Mac) sends from the reply box. You can reply without taking the chat, but taking it tells your team it’s yours.
Replying publicly in a conversation the assistant is answering counts as taking it over: a handoff is created for you automatically (if a teammate had already taken the chat, it stays with them), and the assistant stops answering there.
Two related actions:
- Take this chat on a chat’s page in Conversations takes a chat waiting for your team, as in the Team inbox (
POST /v1/handoffs/{ho}/assignwith{"assignee": "me"}), or steps into a live conversation before the assistant asks for help (POST /v1/sessions/{session}/takeover, optionally with{"summary": "…"}; on a chat already waiting for your team it answers409 handoff_already_open). The chat then appears under Mine. Taking over a chat a teammate already has is refused (409 handoff_already_assigned); owners and admins use Take over instead. - A chat nobody has taken yet can be given to a teammate with
{"assignee": "usr_…"}onPOST /v1/handoffs/{ho}/assign. Moving a chat a teammate already has to someone else takes an owner or admin, with"force": true. The dashboard has no button for either, and secret keys can’t force it.
Use the API
Section titled “Use the API”The same flow from your own tools, with a secret key that has the sessions:read and sessions:write scopes:
# Find work: chats nobody has taken, oldest first (the "Waiting for you" list)curl "https://api.k-agent.kerneltics.com/v1/handoffs?status=open&assignee=none&order=asc" \ -H "Authorization: Bearer $KAGENT_API_KEY"
# Reply to the customer on behalf of your teamcurl https://api.k-agent.kerneltics.com/v1/sessions/sess_01k6rz4p7h2c9m5x8w3t6v1qbg/messages \ -H "Authorization: Bearer $KAGENT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"role": "human_agent", "input": "Hello Fahad, this is Noura from customer service. I am checking your order now."}'
# Leave a note for the teamcurl https://api.k-agent.kerneltics.com/v1/sessions/sess_01k6rz4p7h2c9m5x8w3t6v1qbg/messages \ -H "Authorization: Bearer $KAGENT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"role": "human_agent", "visibility": "internal", "input": "Photo of the broken bottle received; replacement approved."}'
# Give the conversation back to the assistantcurl https://api.k-agent.kerneltics.com/v1/handoffs/ho_01k6rz6c8e0g2j4m6p8r0t2v4x/resolve \ -H "Authorization: Bearer $KAGENT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"action": "release", "note": "A replacement bottle ships tomorrow; confirm if asked."}'The other lists use the same endpoint: Mine is assignee=me&status=open,assigned (me works for signed-in dashboard users; a secret key passes a usr_… ID), All is status=open,assigned,resolved,expired and Finished is status=resolved,expired. GET /v1/handoffs also filters by reason_type, priority, requested_by, agent and since. One-shot handoffs (status recorded) are listed only with one_shot=true, and handoffs from test chats only with sandbox=true.
The counts come from GET /v1/handoffs/counts, which returns {unclaimed, mine, open, flagged}. unclaimed is the Waiting for you count; mine is always 0 for a secret key; flagged counts open conversations the assistant flagged for review with its flag_conversation tool: Conversations marks them For review, and PATCH /v1/sessions/{session} with {"flagged": false} clears the flag.
To react in real time, subscribe a webhook to handoff.requested and message.created, or keep the session’s event stream open.
Timing and expiry
Section titled “Timing and expiry”- A handoff keeps the AI quiet for
handoff.ttl_hours(default 24). Taking it and every message from your team push the deadline to at least now plus that window. The Team inbox shows it as “goes back to the assistant in …”. - If nobody takes it within
handoff.notify.unclaimed_reminder_minutes(default 10), thehandoff.unclaimedevent fires, once. - When it times out, the customer gets your
handoff.expire_messageand the assistant answers again; withhandoff.on_expire: "close"the conversation closes instead. Either way the chat moves to Finished, as Timed out.
Who can use the Team inbox
Section titled “Who can use the Team inbox”Everyone on your team can open it. Owners, admins, developers, editors and the Support role can take chats, reply, write notes, give chats back and end them; the Viewer role can only read. Support is made for this work: it sees Conversations and the Team inbox, but not the assistants’ settings or the steps behind each reply.
To add someone, an owner or admin opens Settings → Team → Invite someone, chooses what they can do and sends them the invitation link, which works once and expires after 7 days. Before signing up or logging in, the person sees your business name, who invited them and their role; a link that was already used, withdrawn, expired or copied only in part says so instead (GET /v1/invitations/{token}). Creating an account from the link joins your team directly, with no business of their own, even when sign-up on the server is closed.
Tickets (API only)
Section titled “Tickets (API only)”Tickets that the assistant’s create_ticket tool opens (TKT-<n>) aren’t shown in the dashboard. List them with GET /v1/tickets (filter by status, priority, source, session or end_user), update them with PATCH /v1/tickets/{tkt} (status open, pending or closed), and subscribe a webhook to ticket.created to send new ones to your own helpdesk.