Skip to main content
Reduce no-shows by sending automated SMS appointment reminders with the Telnyx Messaging API. This guide covers scheduling strategies, message templates, opt-out handling, and timing best practices.

How it works


Send an appointment reminder


Scheduling strategies

Choose a scheduling approach based on your application’s requirements:
The simplest approach — use the Telnyx API’s built-in scheduled messaging feature. No external scheduler needed.
Python
Pros: No infrastructure needed, simple API call Cons: Limited to single scheduled time per API call, max 7 days in advance

Handle replies (confirm / cancel)

Set up a webhook to receive replies and update appointment status:

Opt-out handling

You must honor opt-out requests. Telnyx automatically handles STOP/UNSTOP keywords for 10DLC and Toll-Free numbers, but you should also track opt-outs in your application.
Telnyx automatically handles standard opt-out keywords (STOP, UNSUBSCRIBE, CANCEL, END, QUIT) for US long codes and toll-free numbers. When a user texts STOP:
  1. Telnyx sends an automatic reply confirming the opt-out
  2. Future messages to that number are blocked at the carrier level
  3. You receive a message.received webhook with the STOP keyword
See Advanced Opt-In/Out for customization options.
In addition to Telnyx’s automatic handling, track opt-outs in your database to prevent scheduling reminders for opted-out users:

Timing best practices

1

Send reminders at appropriate times

  • 24 hours before: Primary reminder — enough time to cancel/reschedule
  • 2-3 hours before: Final reminder for same-day appointments
  • Avoid late night/early morning: Only send between 9 AM and 8 PM in the recipient’s local time zone
2

Use multiple reminder windows

For high-value appointments (medical, legal), send two reminders:
  1. 48 or 24 hours before — gives time to reschedule
  2. 2-3 hours before — final confirmation
For routine appointments (salon, auto service), a single reminder 24 hours before is usually sufficient.
3

Respect time zones

Always calculate reminder times in the recipient’s local time zone. Sending a reminder at 3 AM is worse than not sending one at all.
4

Keep messages concise

SMS has character limits. Keep reminders under 160 characters (1 segment) when possible to minimize costs. Include only essential info:
  • Patient name
  • Date and time
  • Location (short form)
  • Reply instructions

Message templates

Healthcare:
Dental:
Salon / Spa:
Auto Service:
Legal / Financial:

Scheduled Messages

Use the Telnyx API to schedule messages for future delivery.

Advanced Opt-In/Out

Customize opt-in/out behavior for your messaging profile.

Webhooks

Receive inbound messages and delivery status updates.

Rate Limiting

Understand throughput limits for bulk reminder sending.