tfu_live: id and
locationId. Reading needs agents:read; quoting, buying and connecting need agents:write.
- Get TFU Live agent numbers
shows the rep’s number now.
line.statusisreadyornot_set_up, andmanagedBysays who set the line up (selforstaff).pendingis a number being set up for the rep right now, in statebuying,connecting,chargingorreconciliation_required(held for our team), of kindpurchaseorattach. - A number the agency already has is free. List numbers to connect to a TFU Live agent, then Connect a number to a TFU Live agent.
- Otherwise buy one in three steps.
Search TFU Live agent numbers
by area code, place, country or toll free. With
widen=true, a search that finds none widens by itself, andwidened.stepsays how far:nearby,stateorcountry. Quote a TFU Live number prices one and returns itsconfirmation, good for ten minutes. Tell the user the number and what it costs now and each month. Only after they agree, send the number and theconfirmationto Buy a TFU Live number. That call is the payer’s yes.
card_required otherwise; the
quote stays good while one is added). The number is bought into the agency’s own phone
account on the sub-account’s TFU Live calling trunk, then connected for the rep’s calls out
and in. The agency wallet is charged once, when it is done. Repeating the purchase with the
same confirmation never buys or charges twice. One number is set up for a rep at a time
(purchase_in_progress). Refusals keep their code, such as search_required or
quote_expired, so you can act on them.
Buy phone number cannot be used for a TFU
Live rep. Use these operations instead.