Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orbit-docs.devotel.io/llms.txt

Use this file to discover all available pages before exploring further.

Inbox API

Sits on top of Conversations and powers the human-agent surface — who is currently viewing what, internal notes, saved filtered views, conversation routing, and quick-reply macros. Base path: /v1/inbox Authentication: Session JWT (this is dashboard-flavored, not server-to-server).

Live presence

Used by the inbox UI to show “X is viewing” + typing indicators. Heartbeat the viewing endpoint roughly every 30 seconds while the conversation is open.
MethodPathPurpose
POST/v1/inbox/{conversationId}/viewingHeartbeat — register caller as viewing
DELETE/v1/inbox/{conversationId}/viewingUnregister (tab close / route away)
GET/v1/inbox/{conversationId}/viewersWho is currently viewing
POST/v1/inbox/{conversationId}/typingToggle the caller’s typing state

Internal notes

Team-only notes attached to a conversation. Never visible to the contact; surfaced inline with messages in the inbox UI.
MethodPathPurpose
POST/v1/inbox/{conversationId}/internal-notesPost an internal note
GET/v1/inbox/{conversationId}/internal-notesList internal notes (newest first)

Saved views

Personal or team-wide filtered views over the conversation list — “My open WhatsApp conversations”, “VIP escalations”, “Stale > 4h”, etc.
MethodPathPurpose
GET/v1/inbox/viewsList personal + team views
POST/v1/inbox/viewsCreate a view
PATCH/v1/inbox/views/{id}Rename, reorder, or re-filter
DELETE/v1/inbox/views/{id}Delete

Routing rules

Auto-assign incoming conversations to agents or teams based on channel, contact, content, or time. Rules are evaluated in priority order; first match wins.
MethodPathPurpose
GET/v1/inbox/routing-rulesList rules
POST/v1/inbox/routing-rulesCreate a rule
PATCH/v1/inbox/routing-rules/{id}Update name, priority, condition, action
DELETE/v1/inbox/routing-rules/{id}Delete a rule
POST/v1/inbox/routing-rules/testDry-run a rule against a sample conversation

Macros

Saved quick replies with optional variables, attachments, and post-actions (close, tag, assign).
MethodPathPurpose
GET/v1/inbox/macrosList personal + shared macros
POST/v1/inbox/macrosCreate a macro
GET/v1/inbox/macros/popularMost-used macros for this user
PATCH/v1/inbox/macros/{id}Update a macro
DELETE/v1/inbox/macros/{id}Delete a macro
POST/v1/inbox/conversations/{convId}/run-macroApply a macro to a conversation

See also