Back to use cases
Product4 min read· Nov 18, 2026

AI agent that answers calls after hours

How to put a hosted AI agent on your line for evenings and weekends so it replaces voicemail, sorts urgent calls from routine ones, books the routine ones and wakes a human only when it should.

AgentPhone TeamFounders
AI agent that answers calls after hours

Saturday, 11:20 p.m. A tenant's water heater is spraying across the laundry room. She calls the property management company and gets "our office hours are Monday to Friday, nine to five, please leave a message". She leaves one. Nobody hears it until Monday. By then the floor is ruined and the owner is asking why nobody picked up.

The same company with a hosted agent on the line: the agent answers, hears "water everywhere", tells her where the shutoff valve usually is and transfers her to the on-call plumber. A different tenant calling at the same hour to ask about renewing their lease gets a polite answer and a booked callback for Monday morning. One prompt, two outcomes.

Urgent or routine

The whole after-hours job is one decision repeated many times: does this need a human now, or can it wait. Write that decision into the agent's systemPrompt as plainly as you would brief a night answering service.

Urgent, for a property manager: active leak, no heat below freezing, lockout, gas smell, break-in. Routine: rent questions, maintenance that is not leaking, lease renewals, "what is the office address". Your list will be different. A dental office puts broken tooth and bleeding in the first column and "do you take Delta" in the second.

For urgent calls the agent gathers the address and the problem, then transfers over SIP REFER to whoever is on call. For routine calls it takes the message, answers what it can and offers the next available slot. Either way the agent.call_ended event arrives at your webhook with the transcript and an analysis of the call, so the morning person opens one list instead of a voicemail box.

Voicemail without the voicemail

Most after-hours callers hang up on a voicemail greeting. They will talk to something that talks back. The agent asks the three questions you would have wanted answered on the voicemail and the answers show up as structured text rather than a 40-second recording someone has to replay.

If you still want a recording, call recording is $5 per month for the whole account and the audio sits next to the transcript. Say so in the greeting.

A text to close the loop

The caller who booked a Monday callback should get a text saying so before they go back to bed. When the call ends, your handler sends it from the same number.

bash
curl https://api.agentphone.ai/v1/messages \
-H "Authorization: Bearer $AGENTPHONE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"number_id": "num_pm_main",
"to_number": "+14155550188",
"body": "Hi Lena, this is Grant Street Property Management. We have you down for a lease renewal call Mon Nov 23 between 9 and 10 AM. Reply here if that changes."
}'

That text is outbound from a US local number, which means 10DLC registration, $25 once for a sole proprietor or standard brand and usually one to three business days after we review it. The voice side needs no registration at all, so the agent can start answering tonight and the texts switch on when the registration clears.

Day and night on one number

The simplest setup is the one most offices already have for their answering service: forward the office line to the AgentPhone number at closing time, using the call forwarding your carrier provides, and unforward in the morning. Or publish the AgentPhone number as the after-hours line and let the voicemail greeting on the main line point to it. Some businesses leave the agent on all day as overflow and only call it "after hours" because that is when it does most of the work.

The call and the text thread are separate conversations. When the Saturday call ends, agent.call_ended delivers the transcript; write the summary into the text conversation's conversationState with PATCH /v1/conversations/{id} and Monday's "any update?" arrives with that context.

What it costs

ItemPrice
Number$3 per month
After-hours call, hosted AI$0.22 per minute, billed per second
Same call, your own model over webhook$0.13 per minute
Confirmation text$0.02 per segment
Call recording$5 per month, whole account
10DLC registration$25 once for a sole proprietor or standard brand

Sixty after-hours calls a month at three minutes each is about $40 in voice. Prices are from the pricing page.

Who uses this

Property management, plumbers and HVAC, veterinary clinics, locksmiths, funeral homes, small law firms with an intake line, anyone whose callers at midnight are either in trouble or happy to wait, with nothing in between. It is less useful for businesses where every after-hours call is sales, since those callers mostly want a price and a human.

FAQ

Can the AI tell the difference between an emergency and a routine call? Yes, if you tell it what counts as each in the system prompt. It asks the questions you specify, routes urgent calls to the on-call person over REFER and books the rest.

Does it replace voicemail entirely? It can. The agent collects what a voicemail would have captured and delivers it as a transcript and analysis in the agent.call_ended event. Voicemail is still available on the number if you want a fallback.

Do I need a separate number for after hours? No. Forward your office line to the AgentPhone number at closing, or use the AgentPhone number as the main line with the agent as overflow. The text thread with each caller carries across both.

What does after-hours answering cost? $0.22 per minute for hosted AI, billed per second, plus $3 a month for the number. A three-minute call is about 66 cents.

Will callers get a text confirming what was agreed? Yes, once the number has 10DLC registration. Your webhook receives the call transcript and sends a short text from the same number.

Ready to give your AI Agent a phone number?