Resource API: What You Can Manage
The Resource API is a RESTful read/write API for managing your RescueTime account programmatically.
While the Analytic Data API is built for querying historical data, the Resource API is built for creating, reading, updating, and deleting resources in your account: projects, tasks, time entries, goals, alerts, and more.
The base URL is https://www.rescuetime.com/api/resource. The full reference is at rescuetime.com/api-docs.
Read and update profile information, account-level preferences, and user settings. Also covers organization and team lookups for accounts that have them.
Create and manage offline time entries, read the Timesheets timeline, and access pre-rolled daily summaries. This is the Resource API equivalent of the offline time post in the Analytic API, but with full CRUD support.
Start, extend, and stop Focus Sessions and Focus Zones. Also lets you read and annotate the underlying session records. More flexible than the Analytic API's Focus Session Trigger, with support for zones and session annotations.
Create and manage projects, tasks, and clients. Also covers project time entries, including creating, merging, and splitting them, and timesheet finalization. Useful for syncing RescueTime's project structure with an external project management tool.
Read-only access to calendar events synced from your connected calendar providers. Includes a meetings-only view. Useful for cross-referencing meeting time against productivity data.
Reference data for RescueTime's classification system: categories, overviews, productivity levels, device types, and the full overview tree for your account. Useful for mapping category names and IDs when building queries against the Analytic Data API.
Create, update, and delete threshold-based alerts and directional goals, and manage the schedules that control when they apply. Useful for setting up alerts and goals programmatically rather than through the UI.
List, count, mark as read or dismissed, and create web notifications with structured content. Useful for building integrations that surface RescueTime notifications in another interface.
Read and write per-account category overrides and productivity score customizations. Also covers structured personalization flow responses, which are the settings RescueTime uses to tailor your experience during onboarding and setup.
List the active devices registered to your account and register Live Activity push tokens. Useful for identifying which devices are contributing data or targeting specific devices with push notifications.