Scheduled & Recurring Messages
Rayo SMS can create either a one-off schedule or a recurring schedule. One-off schedules run once; recurring schedules create a new SMS delivery request on every matching occurrence.
Creating a Schedule
Section titled “Creating a Schedule”- Open Send Message in the left sidebar (
/messages/new). - Select a Sender Identifier, enter recipients in To Mobile Numbers and/or select Groups, and compose the Message.
- Click Schedule Send. The modal opens only after the sender, recipients or groups, and message are present.
- Check the displayed Time Zone. New schedules use your current user time-zone preference.
- Choose Schedule Once or Schedule Recurring.
- Set the start date/time, review the recurrence summary, click Send, and confirm.
The schedule must start at least five minutes in the future. After successful submission, the form returns to a blank Send Message page and displays a processing confirmation.
Schedule Once
Section titled “Schedule Once”Select Schedule Once when the SMS should be created only one time. Choose Starts At; no recurrence fields are required.
The message remains pending until that time. A successful one-off schedule changes to Completed after it creates its SMS request.
Schedule Recurring
Section titled “Schedule Recurring”Recurring scheduling offers two setup modes.
Simple
Section titled “Simple”Use Simple for common business patterns:
| Repeat option | Behavior |
|---|---|
| Daily | Runs every day at the selected time. |
| Weekdays | Runs Monday through Friday. |
| Weekly | Runs on the selected days of the week. |
| Monthly | Runs on the selected day of every month. |
| Yearly | Runs on the selected month and day every year. |
The At time field initially copies the time from Starts At. You can change it. For Monthly and Yearly, the day and month also start from Starts At and remain editable.
Set Ends At (optional) when the series must stop. A bounded recurring schedule becomes Expired when its end boundary is reached.
Advanced
Section titled “Advanced”Use Advanced when you need a calendar or interval expression:
| Pattern | Example | Meaning |
|---|---|---|
| Calendar expression | cron(30 9 ? * MON-FRI *) |
Every weekday at 09:30. |
| Fixed interval | rate(2 hours) |
Every two hours. |
The visible time zone is authoritative. Calendar expressions use that wall-clock zone, including daylight-saving changes. The server validates expressions before creating the schedule.
Time Zone Behavior
Section titled “Time Zone Behavior”The schedule stores an immutable snapshot of the selected IANA time zone:
- Web schedules initially use your Preferences time-zone setting.
- Changing your preference later affects only new schedules.
- Existing schedules continue using the zone in which they were created.
- The schedule details page always labels stored dates with that schedule’s zone.
Viewing and Filtering Schedules
Section titled “Viewing and Filtering Schedules”Open Schedules in the left sidebar (/sms_request_schedules).
| Filter | Description |
|---|---|
| State | Filter by Active, Disabled, Completed, Cancelled, or Expired. |
| Mobile | Find schedules containing a recipient number. |
| Starts At | Filter by start date range. |
| Groups | Find schedules targeting selected Contact Groups. |
The list shows the schedule type, start, human-readable recurrence, state, end, sender, recipients, and message.
Schedule Details and Delivery History
Section titled “Schedule Details and Delivery History”The details page shows:
- schedule identifier and state;
- start, end, last run, and execution count;
- recurrence summary and time zone;
- sender, recipients, groups, client reference, simulation setting, and message;
- the latest 10 recipient-level deliveries.
The history table uses the same delivery rows and statuses as the Sent page. Each scheduled occurrence can fan out into one or more recipient deliveries. Use See more… above or below the table to open /messages with the Schedule Id filter already populated.
Enable, Disable, or Delete
Section titled “Enable, Disable, or Delete”| Action | When it is shown | Effect |
|---|---|---|
| Disable | Active schedule with at least one prior delivery | Stops future invocations while retaining the schedule and delivery history. |
| Enable | Disabled schedule before its end/start boundary is missed | Re-enables future invocations. |
| Delete | No delivery history exists | Permanently deletes the Rails schedule and removes its scheduled invocations. |
A disabled bounded series that has already reached Ends At becomes Expired when the boundary is processed. A missed one-off start cannot be re-enabled; create a new schedule with a future start.
Scheduling Through the API
Section titled “Scheduling Through the API”POST /v1/send_sms uses a structured schedule object. Omit it for immediate delivery.
One-off API request
Section titled “One-off API request”{ "schedule": { "type": "one_off", "startsAt": "2026-12-01T09:30:00+02:00" }}Recurring API request
Section titled “Recurring API request”{ "schedule": { "type": "recurring", "expression": "cron(30 9 ? * MON-FRI *)", "timezone": "Europe/Athens", "startsAt": "2026-12-01T09:30:00+02:00", "endsAt": "2027-03-01T09:30:00+02:00" }}The success response returns smsRequestScheduleId. DELETE /v1/sms_request_schedules/:id deletes a schedule only when it has no delivery history; schedules with history are retained so recipient audit records remain accessible. See the API Overview & API Keys and the full API reference for the complete contract.
