Wilo Public API

Where I Left Off (WILO) lets external applications work with the authenticated account’s own resources. Contract version 1.5.2. This reference is generated from the actual public contract without account data.

Quick start

  1. Sign in to Wilo, open Settings → API Keys, and create a key with the scopes needed for your operation.
  2. Keep the one-time secret in your application’s protected environment as WILO_API_KEY. Never paste it into a documentation page or commit it to source control.
  3. Use HTTPS and an Authorization: Bearer header. This verified read operation requires :
curl 'https://wilo-free-push.adam2002hosny.workers.dev/api/v1/projects' -H "Authorization: Bearer $WILO_API_KEY"

Access is restricted by ownership and scopes. Rotate or revoke keys in Settings. Use the complete OpenAPI contract and interactive guide for request bodies, responses, revision checks, idempotency, pagination, limits and errors. API acceptance is not confirmed phone delivery.

Supported operations

32 operations from the public contract. Expand an operation for its declared scopes. Private owner integrations are not part of this reference.

GET /courses

Requires courses:read. ID-sorted cursor pagination.

Required scopes: See OpenAPI contract

POST /courses

Requires courses:write. Returns only ID/revision, independently of read scope. Duplicate returns created:false.

Required scopes: See OpenAPI contract

PATCH /courses/{id}

Requires courses:write. expectedRevision from list is mandatory. Stale revision fails without changing data. Linked reminder records require UI.

Required scopes: See OpenAPI contract

GET /tasks

Requires tasks:read. ID-sorted cursor pagination.

Required scopes: See OpenAPI contract

POST /tasks

Requires tasks:write. Returns only ID/revision, independently of read scope. Duplicate returns created:false.

Required scopes: See OpenAPI contract

PATCH /tasks/{id}

Requires tasks:write. expectedRevision from list is mandatory. Stale revision fails without changing data. Linked reminder records require UI.

Required scopes: See OpenAPI contract

GET /schedule

Requires schedule:read. ID-sorted cursor pagination.

Required scopes: See OpenAPI contract

POST /schedule

Requires schedule:write. Returns only ID/revision, independently of read scope. Duplicate returns created:false.

Required scopes: See OpenAPI contract

PATCH /schedule/{id}

Requires schedule:write. expectedRevision from list is mandatory. Stale revision fails without changing data. Linked reminder records require UI.

Required scopes: See OpenAPI contract

GET /projects

Requires projects:read. ID-sorted cursor pagination. Personal cards only: internal university reminder backing records linked by task.reminderProjectId are excluded. University assignments remain available through the task/course operations; their reminder backing records and schedules are preserved.

Required scopes: See OpenAPI contract

POST /projects

Requires projects:write. Returns only ID/revision, independently of read scope. Duplicate returns created:false.

Required scopes: See OpenAPI contract

PATCH /projects/{id}

Requires projects:write. expectedRevision from list is mandatory. Stale revision fails without changing data. Linked reminder records require UI.

Required scopes: See OpenAPI contract

GET /sections

Requires sections:read. ID-sorted cursor pagination.

Required scopes: See OpenAPI contract

POST /sections

Requires sections:write. Returns only ID/revision, independently of read scope. Duplicate returns created:false.

Required scopes: See OpenAPI contract

PATCH /sections/{id}

Requires sections:write. expectedRevision from list is mandatory. Stale revision fails without changing data. Linked reminder records require UI.

Required scopes: See OpenAPI contract

GET /boards/personal

Requires boards:read. Empty board has revision0.

Required scopes: See OpenAPI contract

PUT /boards/personal

Requires boards:write. Existing board parser validates geometry, references and cycles. Project references belong to key owner. Payload limit150000 bytes.

Required scopes: See OpenAPI contract

GET /reminders/{projectId}

Requires reminders:read. Read an eligible owned personal card’s settings, effective schedule, version, account delivery switch and native queue/provider state. Works for all resource types, including completed cards when explicitly scheduled; archived/trashed cards are unavailable. No device subscriptions are returned. Provider acceptance never verifies phone arrival. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: See OpenAPI contract

PUT /reminders/{projectId}

Requires reminders:write. Create or update a reminder on any eligible owned personal card. schedule supports relative calendar days/weeks at localTime, precise minute/hour offsets, or an absolute RFC3339 instant, with IANA timeZone. Exact-time reminders need no card due date. Explicit schedules override automatic/global timing and freeze defaults, but respect account enabled, per-card disabled and account quiet hours. Supply expectedSettingsVersion from GET and Idempotency-Key for schedule, leadMinutes, remindAt changes; stale versions return409. Repeat the same key/body safely; replay returns current state without overwriting later manual edits. schedule:null returns to account defaults. The legacy disabled/weekly/time body remains compatible and preserves explicit settings if omitted. Cancelling prevents future dispatch but cannot recall an already accepted Push. Resolution is the existing minute cron plus provider/device delay, not exact-to-second. Compatibility endpoint: modifies only the legacy reminder settings, not independent records. disabled is still the card-wide switch. Prefer POST /projects/{projectId}/reminders to add another reminder. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: See OpenAPI contract

DELETE /reminders/{projectId}

Requires reminders:write. Cancel an owned card reminder with If-Match=settingsVersion from GET and a stable Idempotency-Key. Retains schedule/history for display but sets disabled:true; queued workers recheck it. Cannot recall a previously accepted notification. Compatibility endpoint: disables reminders for the entire card. To cancel only the legacy reminder use DELETE /projects/{projectId}/reminders/legacy with expectedSettingsVersion. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: See OpenAPI contract

GET /tasks/{id}/reminder

Requires tasks:read and reminders:read. Read back assignment linkage and native schedule state without creating or changing anything. verified means state verification; scheduled:true is separate and never means push delivery.

Required scopes: See OpenAPI contract

POST /tasks/{id}/reminder

Requires courses:read, tasks:read, tasks:write, reminders:read and reminders:write. Ensure an existing assignment has one native reminder card. Uses existing account timezone, lead time, notification opt-in and device subscriptions. A new automatic or legacy lead-based link requires enabled due reminders and a future unfinished task. An explicit schedule requires account notifications enabled; an absolute schedule also supports tasks without deadlines and completed eligible tasks. Preserves existing/manual linked cards and settings. expectedRevision is checked for a new link; repeated calls never create another card. Receipt and Firestore relation are atomic; D1/native scope recovery is durable. Retry the same body and Idempotency-Key, or poll GET after202. No API consumer receives Firebase credentials. Optional leadMinutes applies only to a NEW linked reminder card:4320=72 hours and5760=96 hours. Omitting it preserves account defaults. A reminder time at or before now is rejected. Repeated links never replace a manual override; reminder-settings-conflict means read the existing card reminder and use its version-checked PUT deliberately. Alternatively supply schedule (mutually exclusive with leadMinutes) for the same universal modes. Absolute schedule allows tasks without due dates. After linking, manage the card through GET/PUT/DELETE /reminders/{projectId}. New explicit schedules do not change global defaults.

Required scopes: See OpenAPI contract

GET /tasks/{id}/notification

Requires tasks:read and reminders:read. Read the account-owned assignment notification state. handsetDelivery is always not-confirmed; providerAccepted counts upstream Push service acknowledgements, not phone receipts.

Required scopes: See OpenAPI contract

POST /tasks/{id}/notification

Requires courses:read, tasks:read and reminders:write. Request one task-added Push event per owner/task using trusted Wilo task content and only that owner’s registered devices. Respects notification opt-in, quiet hours and hideContent. No free-form message, UID, subscription or destination is accepted. Required Idempotency-Key is scoped to this operation/owner; the same key with different input returns409. A different key still cannot resend the same task event. Keep a stable key; at most32 keys per task. First request checks expectedRevision. Native queue/cron resume partial failures. Unknown provider/network outcomes are not retried automatically (at-most-once attempt/device), avoiding duplicate notifications. Provider acceptance is not proof of display. No new notification opt-in/device enrollment occurs. Optional bypassQuietHours=true requires that API key quiet-hours override permission; otherwise 403 quiet-hours-override-forbidden. False/omitted respects quiet hours. New keys default off. Owner can change the existing key via authenticated account Settings, never this API. Permission is checked again at dispatch; revocation/expiry/deletion restores quiet hours for pending work. To upgrade a deferred event, use an authorized key and a NEW Idempotency-Key with bypassQuietHours=true; the same pending logical event is promoted, not duplicated. Changing a body under an existing key remains 409. Completed events are never resent. Processing events are not promoted mid-dispatch; poll status before retry. Scheduled reminders are unaffected.

Required scopes: See OpenAPI contract

GET /projects/{id}/notification

Requires projects:read and reminders:read. Read the account-owned card notification state. handsetDelivery is always not-confirmed; providerAccepted counts upstream Push service acknowledgements, not phone receipts.

Required scopes: See OpenAPI contract

POST /projects/{id}/notification

Requires projects:read and reminders:write. Request one card notification Push event per owner/card using trusted Wilo card content and only that owner’s registered devices. Respects notification opt-in, quiet hours and hideContent. No free-form message, UID, subscription or destination is accepted. Required Idempotency-Key is scoped to this operation/owner; the same key with different input returns409. A different key still cannot resend the same card event. Keep a stable key; at most32 keys per card. First request checks expectedRevision. Native queue/cron resume partial failures. Unknown provider/network outcomes are not retried automatically (at-most-once attempt/device), avoiding duplicate notifications. Provider acceptance is not proof of display. No new notification opt-in/device enrollment occurs. Optional bypassQuietHours=true requires that API key quiet-hours override permission; otherwise 403 quiet-hours-override-forbidden. False/omitted respects quiet hours. New keys default off. Owner can change the existing key via authenticated account Settings, never this API. Permission is checked again at dispatch; revocation/expiry/deletion restores quiet hours for pending work. To upgrade a deferred event, use an authorized key and a NEW Idempotency-Key with bypassQuietHours=true; the same pending logical event is promoted, not duplicated. Changing a body under an existing key remains 409. Completed events are never resent. Processing events are not promoted mid-dispatch; poll status before retry. Scheduled reminders are unaffected.

Required scopes: See OpenAPI contract

GET /projects/{projectId}/reminders

Requires reminders:read. Own personal card only; all eligible card types. Each independent reminder has a stable ID and numeric revision. Quiet hours, account and card opt-out apply. Provider acceptance is not phone delivery. Relative schedules follow deadline edits until dispatch starts; absolute times remain fixed. Cancelled/sent records are not rearmed automatically. Explicit editing creates a new revision. Repeated Idempotency-Key/body returns current persisted state without duplicate writes. Legacy record id=legacy uses expectedSettingsVersion instead of expectedRevision. Cancellation cannot recall an in-flight or accepted Push. List includes cancelled records; no pagination, maximum100 independent records per card. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: reminders:read

POST /projects/{projectId}/reminders

Requires reminders:write. Own personal card only; all eligible card types. Each independent reminder has a stable ID and numeric revision. Quiet hours, account and card opt-out apply. Provider acceptance is not phone delivery. Relative schedules follow deadline edits until dispatch starts; absolute times remain fixed. Cancelled/sent records are not rearmed automatically. Explicit editing creates a new revision. Repeated Idempotency-Key/body returns current persisted state without duplicate writes. Legacy record id=legacy uses expectedSettingsVersion instead of expectedRevision. Cancellation cannot recall an in-flight or accepted Push. List includes cancelled records; no pagination, maximum100 independent records per card. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: reminders:write

GET /projects/{projectId}/reminders/{reminderId}

Requires reminders:read. Own personal card only; all eligible card types. Each independent reminder has a stable ID and numeric revision. Quiet hours, account and card opt-out apply. Provider acceptance is not phone delivery. Relative schedules follow deadline edits until dispatch starts; absolute times remain fixed. Cancelled/sent records are not rearmed automatically. Explicit editing creates a new revision. Repeated Idempotency-Key/body returns current persisted state without duplicate writes. Legacy record id=legacy uses expectedSettingsVersion instead of expectedRevision. Cancellation cannot recall an in-flight or accepted Push. List includes cancelled records; no pagination, maximum100 independent records per card. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: reminders:read

PATCH /projects/{projectId}/reminders/{reminderId}

Requires reminders:write. Own personal card only; all eligible card types. Each independent reminder has a stable ID and numeric revision. Quiet hours, account and card opt-out apply. Provider acceptance is not phone delivery. Relative schedules follow deadline edits until dispatch starts; absolute times remain fixed. Cancelled/sent records are not rearmed automatically. Explicit editing creates a new revision. Repeated Idempotency-Key/body returns current persisted state without duplicate writes. Legacy record id=legacy uses expectedSettingsVersion instead of expectedRevision. Cancellation cannot recall an in-flight or accepted Push. List includes cancelled records; no pagination, maximum100 independent records per card. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: reminders:write

DELETE /projects/{projectId}/reminders/{reminderId}

Requires reminders:write. Own personal card only; all eligible card types. Each independent reminder has a stable ID and numeric revision. Quiet hours, account and card opt-out apply. Provider acceptance is not phone delivery. Relative schedules follow deadline edits until dispatch starts; absolute times remain fixed. Cancelled/sent records are not rearmed automatically. Explicit editing creates a new revision. Repeated Idempotency-Key/body returns current persisted state without duplicate writes. Legacy record id=legacy uses expectedSettingsVersion instead of expectedRevision. Cancellation cannot recall an in-flight or accepted Push. List includes cancelled records; no pagination, maximum100 independent records per card. Since1.5.1, source distinguishes account-default, legacy-explicit and independent. The virtual legacy entry includes old time-only/lead/weekly/import settings even with independent records. Account fallback remains visible as superseded when not scheduled. scheduledAt is the requested instant; effectiveAt applies quiet hours, and nextScheduledAt is null when cancelled, superseded or terminal. Existing event identity and delivery claims prevent legacy projection from duplicating dispatch.

Required scopes: reminders:write

POST /tasks/{id}/reminder/repair

Preview or explicitly restore a trashed university reminder helper

Required scopes: See OpenAPI contract