PATCH URL: /api/v1/team/status
Status changes are broadcast in real time to all agents in your business via Socket.IO on the
agent_status_changed event. Other agents’ dashboards update immediately without requiring a page refresh.Headers
Body
string
required
Your new availability status. Must be one of:
live— you are online and available for conversationsaway— you are online but temporarily unavailableoffline— you are not available
Response
string
required
The status value that was saved.
Example
Response example
Get pending handoffs
Method:GET URL: /api/v1/team/pending-handoffs
Returns all conversations that have been flagged for human handoff by the Theo AI agent. Use this endpoint to build a handoff queue in your dashboard or trigger alerts for your team.
Headers
Response
The endpoint returns an array of conversation objects awaiting human attention.string
required
UUID of the conversation.
string
UUID of the customer who initiated the conversation.
string
The reason the AI flagged this conversation for human handoff (e.g.,
"complex_issue", "user_requested").string
required
Current status of the conversation. One of:
open, pending, closed.string
required
ISO 8601 timestamp of when the conversation was created.