Get Phone Usage
Returns the caller's call and message usage for a window, with estimated and settled amounts kept separate and the monthly spend cap remaining. Excludes number rental, which is billed as a subscription.
Request
Response
Errors
An error keeps the envelope: a negative code and a message in data.
Related methods
reconcile_voice_usageadminSuperuser-only. Settles estimated usage rows from the provider's own final price. Safe to re-run; rows already final are skipped.
accept_voice_termsuserRecords versioned acceptance of Xuda phone, messaging, abuse, and downstream-provider terms.
activate_voice_serviceuserIdempotently creates or reuses one Twilio subaccount for the authenticated Xuda customer. Requires parent management credentials on the backend.
adopt_voice_numberadminSuperuser only. Assigns a number Xuda already owns to a business profile without a purchase or a Stripe subscription, and returns it to the platform parent on release instead of releasing it to the carrier.
attach_voice_numberuserAttaches one of the account's phone numbers to a profile, giving that profile a line. Its members become ring targets and the AI is told who staffs it. A number can be attached to one profile at a time, and the main profile can never hold one.
create_voice_call_intentuserCreates a one-time, short-lived, server-authorized outbound call intent for the browser dialer.
19 of 50 in Voice