Skip to content
Internal docs

AI Support Agent — Overview

The AI Support Agent API is a dedicated surface that lets an AI voice or chat agent authenticate a caller and act on their behalf — answering account, billing, plan and service questions, making approved changes, and escalating to a human with full context.

It is designed around one principle: the backend is the source of truth. The AI never stores customer data or makes unrestricted changes — it reads and writes only through this authenticated, rate-limited API.

The conversation flow

A typical support conversation follows the same shape. Each step maps to one or two calls:

  1. Identify the caller

    Find the customer by phone, email, service address, unit, or customer ID. GET /agent/customers/search

  2. Verify identity

    Email a one-time code, then validate it to get a verified session bound to that customer. POST /agent/verify/issue → POST /agent/verify/check

  3. Answer questions

    Read the customer’s profile, billing summary, network health, and plans. GET /agent/customers/{id} · .../billing-summary · .../network-health

  4. Make approved changes

    Preview and apply a plan change (with the customer’s confirmation), resend an invoice. POST /agent/customers/{id}/plan-change/preview → .../plan-change

  5. Escalate

    Open an enriched support ticket for anything the AI can’t resolve. POST /agent/tickets

What the API covers today

Capability Available Endpoint
Find a customer (masked, with disambiguation) ✅ GET /agent/customers/search
Full profile ✅ GET /agent/customers/{id}
Identity verification (email + SMS OTP) ✅ POST /agent/verify/issue · /verify/check
Billing summary (balance, AutoPay, invoices) ✅ GET /agent/customers/{id}/billing-summary
Payment history ✅ GET /agent/customers/{id}/payments
Resend an invoice ✅ POST /agent/customers/{id}/invoices/{invoiceId}/resend
Network / service health (read-only) ✅ GET /agent/customers/{id}/network-health
Update contact fields ✅ PATCH /agent/customers/{id}/contact
Password reset / resend activation ✅ POST /agent/customers/{id}/password-reset
Add an internal support note ✅ POST /agent/customers/{id}/notes
Communication history (tickets) ✅ GET /agent/customers/{id}/tickets
Create an enriched ticket / escalate ✅ POST /agent/tickets
Plan change — preview + apply ✅ Live POST /agent/customers/{id}/plan-change/preview · /plan-change
Outage & maintenance notices ✅ GET /partner/status/notices (public)
Available plans ✅ GET /partner/marketplace/plans/me

Design guarantees

  • Backend-first — the AI is an interface, not a system of record.
  • Provider-scoped — an agent key only ever sees its own provider’s customers and, for a customer another provider also serves, only its own lines and tickets.
  • Masked-until-verified — search returns only masked contact detail; the full profile and all account data require a verified session.
  • Verification-gated — sensitive reads and every change require a verified session.
  • Confirmation-gated writes — a plan change only applies with an explicit confirm: true after the customer has seen the previewed cost.
  • Predictable errors — most failures return a normalized { "error": { "code", "message", "request_id" } } envelope with a stable code set, so the agent branches on the code rather than parsing messages. The exceptions are listed in the Reference.
  • Changes apply immediately — contact edits and plan changes take effect as soon as the call succeeds. The agent cannot change the account holder’s e-mail (their sign-in address), and a changed billing e-mail notifies the old address (the new address gets no mail). A change-confirmation email with a rollback link is planned but not yet implemented — do not rely on it as a mitigation against socially-engineered verification.
  • Partial audit trail — today the plan-change and contact writes record an audit entry (fire-and-forget, so one can be lost on failure); audit logging for the rest of the agent surface is planned, not shipped. Don’t treat the audit log as complete.

Next: Authentication · Endpoint reference.