Gateway Server: How to schedule campaigns by timezone

Featured illustration for Gateway Server: How to schedule campaigns by timezone

Gateway Server: How to schedule campaigns by timezone. Actionable guide on how to schedule campaigns by timezone in context of android sms gateway server. Include prerequisites, steps, limits, and internal links. Priced by devices and SMS send volume; BYO phone and operator credit.

Written by the SMS Gateway team for operators who run phones and airtime themselves — not for theoretical cloud SMS demos.

InformationAndroid SMS GatewayHow-ToHub F
Article
Published
August 5, 2025
Updated
August 24, 2025
Reading time
16 minute read

Key Takeaways

  • Scheduling campaigns by timezone on an Android SMS gateway server means your code converts civil time to ISO-8601 before the control plane stores the job.
  • scheduleAt is refused beyond 38 days. PATCH /campaigns/{id} can re-time a campaign. Confirm fields in Developer Center.
  • A queued job is not a sent SMS. The paired Android must be charged, paired, and funded at fire time.
  • Quiet hours are your policy. The server will fire at the instant you stored — including 02:00 if you converted badly.
  • You bring airtime. Platform pricing is devices plus send volume. Scheduled OTP still belongs on an isolated device.

Gateway Server: How to schedule campaigns by timezone is about the control plane’s clock, not the phone’s lock screen. The server stores an instant; your Android sends when that instant arrives — if the radio is awake. Hub: Android SMS gateway server. API sibling: schedule via the API. App sibling: schedule in the Android app.

Live fields: Developer Center. You bring the SIM and airtime. Devices and send volume.

UTC in the queue. Local civil time in your code. The SIM does not know Lagos.

The server stores an instant, not a timezone

Cloud relay and local-on-device HTTP share this: neither one is IANA tzdata for your CRM. If you pass a naive local string, you will page people at 3am after DST. Cloud relay vs local.

A campaign that “works in staging at noon” and fires at 04:00 in production is a conversion bug, not an SMSC outage.

How to schedule from the gateway server

  1. Group lists by timezone (or store tz per contact).
  2. Convert the send window to ISO-8601 UTC.
  3. POST with scheduleAt — refuse anything past 38 days.
  4. Confirm device last-seen an hour before T. Spare phone if OTP shares the account.
  5. Watch DLR. PATCH the campaign if the window slips.

Queue internals: message queue architecture.

scheduleAt sample

curl -X POST "https://app.sms-gateway.app/api/v1/messages" \
  -H "Authorization: Bearer $SMS_GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":["+14155552671"],"text":"Reminder: your invoice is due tomorrow.","type":"sms","scheduleAt":"2026-09-01T09:00:00Z"}'

# Times are ISO-8601 UTC unless the string carries an offset.
# scheduleAt is refused beyond 38 days. PATCH /campaigns/{id} can re-time a campaign.

Timezone failure modes

MistakeWhat firesFix
Naive local datetimeServer TZ, not recipient TZConvert in app code
DST ignoredOff-by-one hour twice a yearIANA zone, not a fixed offset forever
Phone asleep at TQueue stallHandset power
OTP on the campaign deviceLogin codes wait behind a blastIsolate devices
Horizon > 38 daysAPI refuseRe-POST closer in

38 days and PATCH

The control plane is not a year-long marketing calendar. Far-future work belongs in your CRM until it fits the window. Confirm PATCH /campaigns/{id} in Developer Center before you build a second scheduler.

The phone must be alive at T

Schedule is persistence, not a promise the OEM will leave the app running. Doze, battery, pairing: setup. Quiet-hours and consent still apply — US industry baseline: CTIA.

Scheduled still meters volume

Fire time burns operator credit and platform SMS allowance the same as a live send. Estimate airtime with monthly operator cost. Free is 300 SMS lifetime — do not schedule a “test campaign” that eats the lab cap.

Next steps

Convert one staff reminder to UTC, POST it, unplug the demo from your pocket, and confirm the bubble at T. Install the app.

Jump to the live product docs for this topic—not another long-form article.

FAQ

Frequently asked questions

Direct answers about android sms gateway server how to schedule campaigns by timezone.

How do I schedule campaigns by timezone on the gateway server?

Convert the recipient’s local send window to UTC (or an offset string), POST scheduleAt on /messages or the campaign resource, keep the handset online at T, and do not schedule past 38 days.

Does the control plane understand “9am Lagos”?

Not as a string. You send an instant. DST bugs are yours.

What if the phone is offline when the job fires?

The queue cannot invent RF. Jobs wait or fail per config. Alert on device last-seen before the window, not after complaints.

Where is the API-only schedule guide?

See “API: how to schedule campaigns by timezone.” This page is the server ops view: persistence, last-seen, and cluster vs local mode.
Keep learning

Topically related guides—chosen by subject overlap, not a fixed sitewide footer.

Information
android sms gateway server how to avoid spammy wording

Gateway Server: How to avoid spammy wording

Gateway Server: How to avoid spammy wording. Actionable guide on how to avoid spammy wording in context of android sms gateway server. Include prerequisites, steps, limits, and internal links. Priced by devices and SMS send volume; BYO phone and operator credit.

Sep 23, 202516 min
Read article
Information
android sms gateway server how to choose prepaid vs postpaid sims

Gateway Server: How to choose prepaid vs postpaid SIMs

Gateway Server: How to choose prepaid vs postpaid SIMs. Actionable guide on how to choose prepaid vs postpaid SIMs in context of android sms gateway server. Include prerequisites, steps, limits, and internal links. Priced by devices and SMS send volume; BYO phone and operator credit.

Nov 15, 202516 min
Read article
Information
android sms gateway server how to design otp templates

Gateway Server: How to design OTP templates

Gateway Server: How to design OTP templates. Actionable guide on how to design OTP templates in context of android sms gateway server. Include prerequisites, steps, limits, and internal links. Priced by devices and SMS send volume; BYO phone and operator credit.

Feb 18, 202616 min
Read article

Browse the full Android SMS gateway knowledge base or return to how an Android SMS gateway works.

Get started

Test the gateway on your own Android phone

Install the app, pair one device, and validate your API flow before choosing a paid plan.

You supply the phone, SIM, and operator SMS credit.