OAuth for iCloud by Figment covers four scopes that a user approves on one consent screen: Passwords (credentials:use), Messages (messages:read), Notes (notes:read), and Reminders (reminders:read) (/icloud). Contacts and Calendar have a free synthetic sandbox. Photos, iCloud Drive, Safari, and Voice Memos have no public Figment endpoint, and Apple offers no general developer API for them either. Apple does provide native frameworks (PhotoKit, EventKit, the Contacts framework) that run with explicit user permission on a signed-in Mac. Figment builds on that model: an isolated Mac holds an approved connection, and your app receives a scoped access token through Figment's consent flow. Your app never handles the Apple password.
What is available today?
iMessage is the connector these guides document in detail. Authorized apps can list conversations, read and search message history, and send to pre-approved conversations. Reads and searches share the messages:read scope. Sending needs the separate messages:send scope and is limited to existing conversations the user has explicitly included in the send grant. Messages is part of the Full iCloud suite, which costs the developer $29/month per connected Apple Account, and sandbox is free.
Passwords, Notes, and Reminders are the other three scopes. credentials:use gives an app one saved login at a time, with its verification code. notes:read and reminders:read are read scopes. The Apple Passwords plan, at $14/month per connected Apple Account, covers credentials:use alone.
Contacts and Calendar are available as a synthetic read-only sandbox. The sandbox endpoints return invented data with realistic field shapes. No real contacts or calendar entries are accessed, so you can build and validate your data model before live access is offered. The scopes are contacts:read and calendar:read. The sandbox also has a Reminders endpoint, under reminders:read.
Photos, iCloud Drive, Safari, and Voice Memos have no current public Figment customer endpoint. The matrix below shows the native Apple framework each service uses, its sync prerequisites, and the access boundary any helper would need to respect.
Which service uses which Apple framework?
| Service | Figment status | Scopes | Apple framework | Prerequisites and access boundary |
|---|---|---|---|---|
| Passwords | Apple Passwords plan and Full iCloud suite | credentials:use | Passwords app (iCloud Keychain) | iCloud Keychain sync on; one saved login at a time |
| iMessage | Full iCloud suite | messages:read · messages:send | Messages (Mac-local DB) | iCloud Messages sync on; iPhone online for new carrier messages |
| Contacts | Synthetic sandbox | contacts:read | Contacts (CNContact) | iCloud Contacts sync; synced contacts only |
| Calendar | Synthetic sandbox | calendar:read | EventKit (EKEvent) | iCloud Calendar sync; shared calendars included |
| Reminders | Full iCloud suite | reminders:read | EventKit (EKReminder) | iCloud Reminders sync; synced lists only |
| Notes | Full iCloud suite | notes:read | Local SQLite / file | iCloud Notes sync on; locked notes need a separate passphrase or biometric step |
| Photos | No endpoint | none | PhotoKit (PHAsset) | iCloud Photos sync; explicit Photos authorization required; cloud-only assets fetched on demand |
| iCloud Drive | No endpoint | none | FileManager + NSFileCoordinator | Sync this Mac enabled; Desktop & Documents folder is optional and off by default |
| Safari | No endpoint | none | History DB / Safari API | iCloud Safari sync; excludes cookies and login sessions |
| Voice Memos | No endpoint | none | AVFoundation + local store | iCloud Voice Memos sync; not live microphone access |
Where is the guide for each service?
- iMessage: iMessage API for Search, Replies, and Agent Actions, Read and Search iMessages with Python, Send an iMessage from Node.js Without Duplicates, Search Message History Without Missing Results, and Find Decisions and Documents in iMessage History.
- Passwords: Use iCloud Keychain for Approved Account Actions.
- Reminders: Create Apple Reminders with EventKit on Mac.
- Notes: Read Apple Notes with a Scoped Mac Helper and Use Selected Apple Notes as Agent Memory.
- Photos: Turn New iCloud Photos into Useful Agent Inputs.
- iCloud Drive: Give an Agent Access to Selected iCloud Files.
- Safari: Search Safari History and Continue Phone Research.
- Voice Memos: Turn Voice Memos into Reviewed Tasks and Drafts.
- Apple Books and Shortcuts (native workflows, no Figment endpoint): Turn Apple Books Highlights into Study Material and Expose Selected Synced Shortcuts as App Actions.
How do the sandbox endpoints work?
The three sandbox endpoints return invented data in the same response envelope as a live response. Use them to build and test your data model before you connect a live account.
GET /api/icloud/v1/connections/{id}/contacts
GET /api/icloud/v1/connections/{id}/calendar?start=ISO&end=ISO
GET /api/icloud/v1/connections/{id}/reminders?completed=false
Each response follows {data:[...], mode:"sandbox", hasMore, nextOffset, scope:"synthetic sandbox data"}. Optional limit (1–100, default 20) and offset (0–10000) apply to all three. The calendar endpoint requires both start and end when either is supplied. end must follow start, and the range must not exceed 366 days. The reminders endpoint accepts completed=true or completed=false and defaults to false.
Each data item contains these fields:
| Service | Fields |
|---|---|
| Contacts | id, name, organization, emails (array of strings), phones (array of strings) |
| Calendar | id, calendarId, title, start (ISO), end (ISO), allDay, location |
| Reminders | id, calendarId, title, completed, priority, due (ISO, optional) |
All returned data is invented. These endpoints do not access any real Apple library.
What do Apple's native APIs require for these services?
The framework requirements show what any Mac-based helper, whether your own design or a Figment connector, would need to handle.
Notes stores its content in a local SQLite-backed library protected by the macOS sandbox. Any process reading Notes needs iCloud Notes sync enabled and the right sandbox permissions. It must treat locked notes as a distinct case that needs a separate passphrase or biometric step before access is possible.
Photos uses PhotoKit, Apple's official framework for the shared photo library on Mac. PHAsset objects carry photo, video, and Live Photo metadata. Cloud-only assets must be explicitly requested and downloaded before use. The user must give explicit Photos authorization, because iCloud sign-in alone is not enough. A large library on a freshly connected Mac may take time to populate completely.
iCloud Drive files are reachable through the standard macOS filesystem once sync is active. Desktop and Documents folders appear in iCloud Drive only when the user has enabled that option in iCloud settings, and it is not on by default. A helper scoped to iCloud Drive cannot reach a device's internal phone storage.
Safari iCloud sync carries browsing history, bookmarks, Reading List items, open tabs, and Tab Groups. It does not include website cookies, iCloud Keychain passwords, or active login sessions.
How does connection setup and service state work?
Connecting an Apple Account involves several distinct gates: account sign-in, trusted-device approval, iCloud sync for each service, Mac system permissions, and app-level consent. A connection reports per-service states (connecting, needs_approval, syncing, ready, offline, reconnect_required, revoked), and each service moves through its own states independently. A connector reaching ready on one service does not make the others ready, and reaching ready does not guarantee complete history or confirmed delivery.
Revoking one app's grant stops only that app's access. Disconnecting the Apple Account stops every grant and all queued operations on that connection. Manage active grants at /icloud/account. For the full consent model and what "OAuth for iCloud" means in practice, see OAuth for iCloud: Connect Apple Data to Your App.
How do I get started?
Connect Apple Account opens the hosted setup screen. Sandbox testing is free. Live plans are $14/month (Apple Passwords) or $29/month (Full iCloud suite, which includes Messages) per connected Apple Account, and you request a demo for live access. The Contacts, Calendar, and Reminders endpoints are available on sandbox connections that have those services selected and the relevant read scope in your app grant.