Skip to content
Docs

Scheduled and repeating pushes

Send a push later, or on a repeating schedule, by adding at, delay, or repeat to your push URL.

Add at, delay, or repeat to any push, and Opush holds it on the server instead of sending it right away. When the time comes, Opush sends it like a normal push. The schedule parameters don't appear in the notification.

# Every weekday at 09:50
curl "https://opu.sh/YOUR_KEY/Standup/Starts%20in%2010%20minutes?at=09:50&repeat=weekdays"

# In one hour
curl "https://opu.sh/YOUR_KEY/Drink%20water?delay=3600&id=water"

# Cancel the one above
curl "https://opu.sh/YOUR_KEY?id=water&delete=1"

Parameters

Prop

Type

Formats for at

FormatExampleMeaning
Unix time in seconds1793782800That exact moment
ISO 8601 with an offset2026-11-04T09:00:00+08:00, 2026-11-04T01:00:00ZThat exact moment
Local date and time2026-11-04T09:00 or 2026-11-04 09:00That time in tz
Time only09:00Today at 09:00 in tz, or tomorrow if 09:00 has passed

Times without an offset are read in tz. If you leave out tz, Opush uses the time zone the device reported.

Repeating pushes

With repeat, the first push goes out at at (or after delay). If you give only repeat, the first push goes out one period from now.

  • Repeats follow the local clock in tz. A daily 09:00 push stays at 09:00 when daylight saving time starts or ends.
  • weekly repeats on the same weekday as the first push.
  • monthly on the 31st moves to the last day of shorter months, then goes back to the 31st.
  • If the server was down for a while, Opush skips to the next time after now. It doesn't send the missed ones.

The response

A scheduled push returns message: "scheduled" with the schedule:

{
  "code": 200,
  "message": "scheduled",
  "timestamp": 1793779200,
  "data": { "id": "sch_…", "fire_at": "2026-11-04T01:50:00Z", "repeat": "weekdays" }
}

fire_at is the next send time, in UTC.

These return 400:

  • at is more than a minute in the past
  • at is more than a year ahead
  • at or tz can't be read, or repeat isn't one of the five values
  • Both at and delay are set

Replacing and cancelling

Give the push an id to manage it later.

  • Replace: schedule again with the same id on the same device. The new schedule replaces the old one.
  • Cancel: send delete=1 with the same id. This cancels the pending schedule and also recalls any notification with that id.
# Change the reminder to 10:00 every day
curl "https://opu.sh/YOUR_KEY/Drink%20water?id=water&at=10:00&repeat=daily"

# Stop it
curl "https://opu.sh/YOUR_KEY?id=water&delete=1"

See and cancel schedules

WhereHow
iPhone appThe Send tab lists pushes scheduled to your devices. You can cancel them there.
Web consolePush › Scheduled pushes at app.opu.sh.
A scriptSend delete=1 with the push's id.
AI agents (MCP)notify takes at, delay, repeat and tz to schedule. When the agent is signed in to your account, it can also use list_schedules and cancel_schedule.

The lists include schedules made by scripts with at, delay, or repeat. For encrypted pushes they show that the push is encrypted instead of the title and body.

You can also schedule from the app. When you write a new push on the Send tab, turn on Schedule and pick a time and repeat. This works when the recipient is on an Opush server.

Encrypted pushes

Scheduling works with encrypted pushes. Opush stores the ciphertext or sealed value as it is and never decrypts it. Keep at, delay, repeat, tz, and id outside the encrypted part, in plain text. The server can't read anything inside.

Good to know

  • Opush checks schedules every minute. A push can arrive up to about a minute after the time you set.
  • If the device has hit its push limit or the server is busy at send time, Opush tries again a minute later.
  • How many pending schedules each device can have depends on your plan. Over the limit, the request returns 403. Waiting won't help: cancel a schedule first.
  • Team channel URLs don't support schedule parameters yet.