SendingEarly accessDesigned and in development. No results yet. See what's left on the roadmap.
Schedule push notifications by time zone
Early access · launching soon. Everything on this page works in early-access projects today.
Every Oricato message has a schedule. It can go out now, at one moment that is the same for everyone, or at a local time: a clock time such as 18:30 that each subscriber reaches in their own time zone. With local time, people in Tokyo, London and New York all get the message at 18:30 on their own clocks, hours apart in real time.
This guide covers all three modes. You’ll learn how the two local-time start forms differ, what happens to time zones where the time has already passed, how expiry works, and how to schedule from the dashboard, the REST API and the OneSignal-compatible endpoint.
The three schedule modes
| Mode | Dashboard choice | What happens | Rules |
|---|---|---|---|
now |
Send now (“Goes out within a minute”) | One send, right away. | The default when schedule is left out. |
at_time |
At a specific time (“One moment, the same for everyone”) | One send at send_at. |
send_at is required and must be no earlier than 1 minute ago and no later than 365 days ahead. A send_at within that last minute sends right away. |
local_time |
At each person’s local time (“Best for daily messages”) | One send per time zone group, each at local_time on that group’s clock. |
local_time is required, as HH:MM on a 24-hour clock (07:05, 18:30). |
How local-time delivery works
- The SDK reports each device’s time zone. The Android, iOS and Flutter SDKs send the operating system’s IANA
time zone ID with every registration, for example
Asia/KolkataorAmerica/St_Johns. Android readsTimeZone.getDefault().id, iOS readsTimeZone.autoupdatingCurrent.identifier, and the Flutter plugin asks the native side for the same ID. The server maps old aliases to current names (Asia/CalcuttabecomesAsia/Kolkata). If a device reports something unusable, the server falls back to the main time zone of the device’s country, and then toUTC. - The server plans one send per group of time zones. Time zones that reach your local time at the same moment form one group. The roughly 420 time zone names fold into about 40 groups, spread over about 26 hours. Oricato plans a group for every time zone, including zones where you have nobody yet, so people who install your app after you schedule are still covered.
- Each group sends at its own moment. When a group’s time arrives, Oricato sends to everyone whose stored time zone belongs to that group at that moment.
All time zone math uses one pinned copy of the IANA Time Zone Database, shared by the dashboard preview and the sending worker, so the preview and the real send always agree.
Choose a local-time start form
A local_time schedule takes one of two start fields, or neither. You can’t use both:
"Use either starts_at or start_date, not both."
| Form | Field | Who gets it when | Use it for |
|---|---|---|---|
| Calendar date | start_date (YYYY-MM-DD) |
Everyone gets it at local_time on that calendar date in their own time zone. A message for Friday arrives on Friday everywhere. |
Anything tied to a day: “Your weekend plan”, a weekday reminder, an event day. New dashboard messages use this form. |
| Start instant | starts_at (RFC 3339 timestamp) |
Everyone gets it at the first local_time on their clock at or after the later of starts_at and the moment you schedule. |
OneSignal “timezone delivery” behavior. The compatible endpoint uses this form. |
| Neither | none | Everyone gets it at their next local_time after the moment you schedule. |
“Send at 08:00 everyone’s time, starting as soon as possible.” |
schedule.timezone is for display only. It sets the time zone the dashboard uses to describe the schedule (“your
time”) and never changes when anyone receives the message. In the REST API it’s optional.
Example: the calendar-date form
"local_time": "18:30" with "start_date": "2026-11-15" (a Sunday). Everyone below gets it on Sunday 15 November
at 18:30 local time:
| City | Time zone | UTC offset that day | Send instant (UTC) |
|---|---|---|---|
| Auckland | Pacific/Auckland |
+13:00 (daylight saving) | 2026-11-15 05:30 |
| Sydney | Australia/Sydney |
+11:00 (daylight saving) | 2026-11-15 07:30 |
| Adelaide | Australia/Adelaide |
+10:30 (daylight saving) | 2026-11-15 08:00 |
| Tokyo | Asia/Tokyo |
+09:00 | 2026-11-15 09:30 |
| Kathmandu | Asia/Kathmandu |
+05:45 | 2026-11-15 12:45 |
| Delhi | Asia/Kolkata |
+05:30 | 2026-11-15 13:00 |
| London | Europe/London |
+00:00 | 2026-11-15 18:30 |
| St. John’s | America/St_Johns |
−03:30 | 2026-11-15 22:00 |
| New York | America/New_York |
−05:00 | 2026-11-15 23:30 |
| Los Angeles | America/Los_Angeles |
−08:00 | 2026-11-16 02:30 |
Delhi, Kathmandu, Adelaide and St. John’s get a group at their exact offset instead of being rounded into a
whole-hour neighbor. Groups are formed by send instant, so zones that share an offset that day share a group:
Asia/Kolkata sends with Asia/Colombo (+05:30), and Australia/Adelaide with Australia/Broken_Hill (+10:30).
Example: the start-instant form
"local_time": "09:00" with "starts_at": "2026-11-14T12:00:00Z". Each person gets it at the first 09:00 on their
clock at or after 12:00 UTC on Saturday 14 November:
| City | First 09:00 at or after the start | Local day |
|---|---|---|
| St. John’s | 2026-11-14 12:30 UTC | Saturday 14 Nov |
| New York | 2026-11-14 14:00 UTC | Saturday 14 Nov |
| Los Angeles | 2026-11-14 17:00 UTC | Saturday 14 Nov |
| Sydney | 2026-11-14 22:00 UTC | Sunday 15 Nov |
| Tokyo | 2026-11-15 00:00 UTC | Sunday 15 Nov |
| Delhi | 2026-11-15 03:30 UTC | Sunday 15 Nov |
| London | 2026-11-15 09:00 UTC | Sunday 15 Nov |
The Americas get it on Saturday and the rest of the world on Sunday. That’s correct for “the next 09:00 after
this moment”. If your message names a day, use start_date instead.
Missed time zones
With start_date, some time zones may already be past local_time on that date when you schedule. Say you schedule
the Sunday 18:30 example above at 10:00 UTC on Sunday 15 November. By then it’s already later than 18:30 in
Auckland, Sydney, Adelaide and Tokyo, but not yet 18:30 in Kathmandu.
missed_zones decides what happens to those people:
| Value | Dashboard choice | What happens |
|---|---|---|
next_day (default) |
Send it the next day (“At 6:30 PM their time”) | They get it at their next local_time, on the following local day. |
skip |
Skip them (“They don’t get it”) | They don’t get this message. Autopilot always uses skip, so a Friday message never arrives on a Saturday. |
The schedule preview shows how many people this affects. With next_day, nothing is rejected: every passed time
zone simply moves to the next local day. With skip, if local_time on start_date has already passed in every
time zone, nobody is left and the schedule is rejected with
"6:30 PM on 2026-11-15 has already passed in every timezone.". A start_date earlier than today’s date in
UTC−12 (the last place on Earth to reach a date) is rejected with "The start date is in the past.".
To reach everyone on the same local date, schedule before local_time arrives in UTC+14
(Pacific/Kiritimati), the first time zone to reach each new day. For 18:30 on 15 November, that’s before
04:30 UTC on 15 November.
Daylight saving and other edge cases
- Offsets change during the year. Oricato stores time zone names, not offsets, so each send uses the offset for that date. In November, Adelaide is at +10:30 and 18:30 there is 08:00 UTC. A 15 June message for the same 18:30 goes out at 09:00 UTC, when Adelaide is at +09:30.
- A time that doesn’t exist (clocks spring forward) is moved forward by the length of the gap. 02:30 on 8 March 2026 in New York never happens, so that group gets it at 03:30 EDT (07:30 UTC).
- A time that happens twice (clocks fall back) sends at the first occurrence. 01:30 on 25 October 2026 in London sends at 01:30 BST (00:30 UTC).
- The date line. On the same local date,
Pacific/Kiritimati(UTC+14) gets the first group andPacific/Pago_Pago(UTC−11) andEtc/GMT+12(UTC−12) the last. Groups for one schedule span about 26 hours.
Tip: avoid scheduling between 01:00 and 03:00. That window is where daylight saving changes happen in most countries.
Expiry (TTL)
ttl_seconds is how long a notification stays deliverable after its group’s send time. In the dashboard it’s
Expires after under More options, with the choices Now or never, 1 hour, 4 hours, 12 hours,
1 day, 3 days, 1 week, 4 weeks and Custom….
- Defaults: 14,400 seconds (4 hours) for
local_time, 86,400 seconds (1 day) fornowandat_time. In the dashboard, Expires after follows the schedule mode until you change it yourself. - Range: 0 to 2,419,200 seconds (28 days).
0means “deliver now or never” on the device. - Expiry is per group. Each group expires at its own send time plus the larger of the TTL and a 10-minute grace period. A group that can’t start in that window (for example, because your Firebase credentials stopped working) is skipped as expired instead of arriving late. The device receives whatever TTL remains.
Keep local-time messages short-lived. A “Good evening” message that arrives at 23:00 is worse than none.
Prerequisites
- An Oricato project with your Firebase service account key uploaded, and for iOS, your APNs auth key (
.p8) uploaded in Firebase. See Firebase and APNs credentials. - The Oricato SDK 1.0.1 in your app (Android, iOS or Flutter), so devices report their time zone. You don’t need to write any time zone code.
- To schedule in the dashboard: the editor role or higher. To schedule from your server: a REST API key . See the REST API quickstart.
Schedule a local-time message in the dashboard
-
Open the composer. Go to Messages → New message, choose who gets it (Who gets it) and write it (What it says). See Send from the dashboard.
-
Pick the mode. In section 4, When, choose At each person’s local time. The time starts at 5:00 AM and Starting on starts at tomorrow’s date. Choose Send now or At a specific time for the other modes.
-
Set the time and date. Set Time (for example 6:30 PM) and Starting on (helper text: “Each person’s own date”). This is the
start_dateform: the date is each person’s own calendar date. -
Decide about missed time zones. Under If someone’s 6:30 PM on that date has already passed, choose Send it the next day or Skip them.
-
Read the preview. Below the fields, a sentence describes the schedule in your own time zone, for example:
Everyone gets it at 6:30 PM on Sun 15 Nov in their own time. People in New Zealand get it first, at 5:30 AM on Sun 15 Nov your time. The last group (United States) gets it at 2:30 AM on Mon 16 Nov your time.Under it, a timeline shows up to 12 time zone groups that have people, each with its time in your zone, its countries and about how many people it reaches (“+N more groups” when there are more). Hover a group to see its time zone names. Warnings appear under the timeline:
- “This time has passed — it will be sent right away.” For a local-time message this means each person gets it at their next local time, not immediately.
- “…’s 6:30 PM on … has already passed — they get it the next day.” (or “they are skipped.”)
- “Some time zones would get it after it expires — make ‘Expires after’ longer.”
- A daily-limit warning if some people would get more notifications that day than your project allows.
-
Schedule it. Check section 5, Review, then select Schedule…. For audiences over 10,000 people, the dashboard asks you to confirm the exact count first.
-
Monitor it. The message moves to the Scheduled tab of Messages, and then to Sent once its first group starts. Open it to see each group’s progress, and the report’s chart of sends over time. You can unschedule or edit a scheduled message until its first group starts sending, and cancel it at any time before the last group finishes.
Schedule with the REST API
Use POST /api/v1/messages with a schedule object. Without "draft": true, the message is validated and
scheduled in the same call. Set your API address (shown in Settings → Add Oricato to your app) and key
first:
export ORICATO_API="https://<your-api-address>"
export ORICATO_API_KEY="<ORICATO_API_KEY>"
Local time on a calendar date (start_date)
curl "$ORICATO_API/api/v1/messages" \
-H "Authorization: Bearer $ORICATO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: weekly-summary-2026-11-15" \
-d '{
"name": "Weekly summary",
"content": {
"default_language": "en",
"translations": [
{ "language": "en", "title": "Your week in review", "body": "See what you finished this week in Lingora." },
{ "language": "es", "title": "Tu semana en resumen", "body": "Mira lo que terminaste esta semana en Lingora." }
]
},
"schedule": { "mode": "local_time", "local_time": "18:30", "start_date": "2026-11-15" }
}'
missed_zones defaults to next_day. To skip people whose 18:30 has already passed, add it:
{ "schedule": { "mode": "local_time", "local_time": "18:30", "start_date": "2026-11-15", "missed_zones": "skip" } }
Local time from a start instant (starts_at)
{ "schedule": { "mode": "local_time", "local_time": "09:00", "starts_at": "2026-11-14T12:00:00Z" } }
starts_at must be no more than 365 days ahead. A starts_at in the past is treated as “now”: each person gets
it at their next local_time, and the dashboard preview shows “This time has passed — it will be sent right away.”
For local time, read that as “at the next local time”.
Local time, next occurrence
{ "schedule": { "mode": "local_time", "local_time": "08:00" } }
One moment for everyone (at_time)
send_at is an RFC 3339 timestamp with a zone or offset:
{ "schedule": { "mode": "at_time", "send_at": "2026-11-14T15:00:00-05:00" } }
Read the response
The call returns 201 with the Message. These are the fields that describe the schedule:
{
"id": "0193a1f2-6c1e-7b40-9d2a-4e8f0c7a1b23",
"status": "scheduled",
"schedule": {
"mode": "local_time",
"send_at": null,
"local_time": "18:30",
"starts_at": null,
"start_date": "2026-11-15",
"missed_zones": "next_day",
"timezone": null
},
"ttl_seconds": 14400,
"first_send_at": "2026-11-15T04:30:00Z",
"last_send_at": "2026-11-16T06:30:00Z",
"audience_estimate": 18011
}
If you repeat the call with the same Idempotency-Key, you get 200 with the stored message instead of a second
message.
first_send_at and last_send_at are the first and last group instants. Messages created with an API key appear in
the dashboard like any other message, so you can open the preview there.
Schedule through the OneSignal-compatible endpoint
POST /api/v1/notifications accepts OneSignal’s scheduling fields:
| OneSignal field | Oricato behavior |
|---|---|
send_after |
The start instant. With delayed_option absent or "immediate", an absent or past send_after sends now. With delayed_option: "timezone", an absent or past send_after means each person gets it at their next delivery_time_of_day. |
delayed_option: "timezone" |
mode: "local_time" with starts_at = send_after (the start-instant form). Requires delivery_time_of_day. |
delivery_time_of_day |
9:00AM, 9:00 AM, 09:00, 21:45 or 9AM, stored as HH:MM. A bare hour such as 9 is rejected as ambiguous. |
delayed_option: "last-active" |
Not supported: returns 400. |
delayed_option absent or "immediate" |
at_time at send_after when it’s in the future, otherwise now. |
ttl |
When absent: 14,400 seconds with delayed_option: "timezone", otherwise 86,400. |
curl "$ORICATO_API/api/v1/notifications" \
-H "Authorization: Bearer $ORICATO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"app_id": "<your-project-id>",
"included_segments": ["Subscribed Users"],
"headings": { "en": "Good morning" },
"contents": { "en": "Your plan for today is ready in Lingora." },
"send_after": "2026-11-14 12:00:00 GMT+0000",
"delayed_option": "timezone",
"delivery_time_of_day": "9:00AM"
}'
send_after accepts these formats (the first match wins). Every format must include a zone:
2026-11-14T12:00:00Z RFC 3339 (also with an offset, e.g. 2026-11-14T07:00:00-05:00)
2026-11-14 12:00:00 GMT+0000
2026-11-14 12:00:00 UTC
2026-11-14 12:00:00 +0000
Sat Nov 14 2026 07:00:00 GMT-0500 (Eastern Standard Time) JavaScript Date.toString()
Sat Nov 14 2026 07:00:00 GMT-0500
A successful call returns 200 { "id": "…", "recipients": 17877, "external_id": null }, plus a "warnings" array
when there are any (for example, ignored fields).
The daily limit
Every schedule path checks the project’s daily limit per person (default 5 campaign messages per local calendar day). Oricato checks each time zone against the local date the message would land on.
- Dashboard: a warning in the preview, with a See that day’s messages link. When you then select
Schedule…, a daily-limit dialog opens. Owners and admins can select Send anyway there (it retries with
override_daily_cap: trueand is noted in the Activity log). Editors can’t. - REST API:
409 daily_cap_exceeded. API keys can never override the limit. - OneSignal-compatible endpoint:
400with"Daily limit reached: people in <country> would get <n> notifications on <date> (limit <cap>)".
Verify it works
- Check the preview. In the composer’s When section, the sentence and the timeline should list the groups
you expect, with countries and estimated counts. A
start_dateschedule should show every group on that date, apart from any missed time zones the warning lists. - Test with devices in different time zones. Add two or three phones as test devices (Audience → Test devices →
Add test device). On each one, change the time zone in system settings (for example New York, London and Tokyo),
then open your app once so the SDK reports the new zone. Schedule a
local_timemessage for a few minutes past the current hour with the audience option Only test devices ("audience": { "test_only": true }in the REST API). Each phone should receive it at that time on its own clock. Send test sends right away and ignores the schedule, so use a real scheduled message for this check. - Read the report. Open the message after it starts. The chart of sends over time should show steps spread
across the day, one per group with people, not one spike. The groups list shows each group’s status (
pending,fanning_out,sending,completed,skipped_expired,cancelled,failed). - From your server,
GET /api/v1/messages/{message_id}returnsstatus,first_send_at,last_send_atandprogress.slices_doneout ofprogress.slices_total(one slice per group).
Troubleshooting
Someone got it at the wrong hour.
Oricato uses the time zone the device last reported. The SDK reports it on every cold start and foreground
(re-sent when something changed or the last report is over an hour old), and when the time zone changes. On
Android, the SDK’s manifest receiver com.oricato.push.internal.OricatoSystemEventsReceiver listens for
android.intent.action.TIMEZONE_CHANGED and queues an update with WorkManager. On iOS, the SDK observes
NSSystemTimeZoneDidChange while the app is running and reports again when the app becomes active. A traveler who
hasn’t opened your app since landing still has their old zone. Open the subscription in Audience to see the
stored time zone.
Some people got a “Sunday” message on Monday.
That’s missed_zones: "next_day": their 18:30 on Sunday had already passed when you scheduled. Use skip, or
schedule before local_time arrives in UTC+14. If you used starts_at or the compatible endpoint, local days
differ by design. Switch to start_date.
It didn’t arrive at all, or the report shows expired.
A group is skipped once its send time plus max(TTL, 10 minutes) passes before it can start, for example while
Firebase credentials were invalid. A skipped group’s skip_reason tells you why: ttl_expired, cancelled,
credentials_invalid or invalid_payload. Fix the credentials, and use a longer Expires after if the content allows.
If it arrived without sound, check the device: some Android OEM skins (for example TECNO HiOS) demote app
notifications to silent. See Troubleshooting delivery.
400 with "send_after must be a date with a time zone, e.g. 2026-10-09T05:00:00+05:00".
The compatible endpoint rejects a send_after without a zone, such as 2026-11-14 12:00:00. Add Z, an offset or
UTC.
400 with "delivery_time_of_day is required for delayed_option timezone (e.g. 9:00AM)".
delivery_time_of_day is missing or unreadable. Use a form such as 9:00AM or 21:45, not a bare 9.
400 validation_failed on schedule.* fields.
The message of each field error says what to fix:
| Field | Message |
|---|---|
schedule |
“Nothing would be sent with this schedule.” |
schedule.mode |
“Mode must be now, at_time or local_time.” |
schedule.local_time |
“Local time must be HH:MM (24 h).” / “Local time is required for local-time delivery.” / “local_time is only used with mode local_time.” |
schedule.start_date |
“Use either starts_at or start_date, not both.” / “Start date must be a valid YYYY-MM-DD date.” / “start_date is only used with mode local_time.” / “The start date is in the past.” / “The start date must be within the next 365 days.” / “<time> on <date> has already passed in every timezone.” (only with missed_zones: "skip") |
schedule.send_at |
“Choose when to send it.” / “The send time is in the past.” / “The send time must be within the next 365 days.” / “send_at is only used with mode at_time.” |
schedule.starts_at |
“The start must be within the next 365 days.” / “starts_at is only used with mode local_time.” |
schedule.missed_zones |
“missed_zones must be next_day or skip.” |
schedule.timezone |
“Unknown timezone.” |
409 daily_cap_exceeded (REST) or “Daily limit reached” (compatible endpoint).
Some people would get more than the daily limit on one local day. Move the message to another day, narrow the
audience, or ask an owner or admin to schedule it from the dashboard with Send anyway.
I set schedule.timezone but nothing changed.
That’s expected. schedule.timezone only changes how the dashboard describes the times (“your time”). Delivery
always follows each subscriber’s own time zone.
Schedule object reference
| Field | Type | Rules |
|---|---|---|
mode |
string | now (default), at_time or local_time |
send_at |
timestamp or null | at_time only; required when scheduling; from now − 1 min to now + 365 days |
local_time |
HH:MM or null |
local_time only; required |
starts_at |
timestamp or null | local_time only; at most one of starts_at and start_date |
start_date |
date or null | local_time only; the calendar date in each subscriber’s own time zone; up to 365 days ahead |
missed_zones |
string | next_day (default) or skip; used with start_date |
timezone |
IANA name or null | Display only; defaults to your profile time zone in the dashboard |