Set up an After Hours answering line (billed per minute)
set_up_answering_lineStarts an After Hours AI receptionist for the signed-in owner's business, prepaid and billed per minute (min40: 40 minutes for $10; min200: 200 minutes for $50). Real answered phone calls cost $0.25 per minute, billed by the second: each call rounds up to the next whole second, with a 20-second minimum. Robocalls, calls from your own numbers or ours, website and widget chats, text messages, and calls whose transcripts cannot be read are not charged. Nothing is built or bought until the owner pays: this returns a Stripe checkout link for the first pack, and the line (agent and phone number) is set up automatically once that is paid; its number and forwarding codes are then emailed to the account's address. Only call it after showing the owner https://odilelabs.com/terms and getting a yes. For prices first use get_answering_line_offer; for a line that already exists use get_answering_line, and add minutes to it with buy_pack (product 'line_minutes'), not a second set-up. United States only (the business line and the owner's mobile must be US numbers). Needs a signed-in connection with the lines:manage permission; limited to 3 set-ups a day per account. Returns { setup_id, status: 'awaiting payment', business_name, business_phone, pack, minutes, price_cents, checkout_url, then }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | The town the business is in, e.g. "Wellington, FL". The receptionist says it when a caller asks where you are. | |
| pack | Yes | The first pack: min40: 40 minutes for $10; min200: 200 minutes for $50. | |
| extra | No | Anything else the receptionist should know. | |
| hours | No | Opening hours by day name, e.g. {"Monday": {"open": "8:00 AM", "close": "5:00 PM"}, "Sunday": "closed"}. A day left out is closed. Omit entirely for Monday to Friday, 9 to 5. | |
| country | No | Only US for now. | |
| services | No | Up to 12 services, e.g. ["drain cleaning", "water heaters"]. | |
| languages | No | Languages besides English the receptionist switches to when a caller does. | |
| description | No | What the business does, in one line; this is what it tells callers. | |
| owner_mobile | Yes | The owner's own mobile (US, with area code): their calls to the line are never charged. | |
| business_name | Yes | The business name callers should hear, e.g. "Alvarez Plumbing". | |
| business_phone | Yes | The business number callers dial today (US, with area code). The owner forwards it to the new line. | |
| owner_confirmed_terms | Yes | true ONLY after you showed the owner https://odilelabs.com/terms and they said yes. Anything else is refused. |