OAuth for iCloud developer guide

iCloud OAuth or a Signed-In Mac Connection

Apple's account authorization covers only Mail, Calendar and Contacts. iMessage, Photos, Notes and every other Apple service need a Mac signed in with the Apple Account. The table below shows each service.

Figment editorial teamPublished Updated Facts checked November 12, 2026

Apple's documented account authorization covers iCloud Mail, Calendar, and Contacts, and nothing else. For iMessage, Photos, Notes, Drive, Reminders, Safari, Find My, Home, Voice Memos, and Shortcuts, Apple publishes no authorization scope for third-party developers, so a Mac signed in with the Apple Account is the access path. When developers search for an "iCloud OAuth" approach, they typically mean Apple's account-authorization channel, which reaches those three services through open protocols. Knowing which transport each service needs decides what your user completes during setup and which scopes your app can request.

What does Apple's account authorization cover?

Apple's support article Access your iCloud Mail, Calendar, and Contacts in third-party apps describes the user step: when setting up a supported third-party app, the user enters their Apple Account email and selects Allow. The app then reaches the named service through its standard protocol. The user can revoke any app's access at any time from account.apple.com under Sign-In and Security → Account Data Sharing.

The three services and their protocols:

Mail
IMAP for reading, SMTP for sending
Calendar
CalDAV
Contacts
CardDAV

Developers building a direct integration can apply through Apple's developer request form at developer.apple.com/contact/request/icloud-oauth2/. An Apple Developer account is required to access the form, and enrollment terms and approval apply. Figment is not an Apple-approved partner.

This channel handles none of Apple's native-app data stores. iMessage, Photos, Notes, Drive, and all other iCloud apps are outside its scope.

Why do iMessage and most iCloud apps require a Mac?

iMessage has no Apple-published REST API and no authorization scope for third-party developers. Messages.app stores conversations in a local SQLite database on the Mac and uses Apple's private push infrastructure to deliver them. A Mac-based connection reads the Messages chat.db database and uses AppleScript for sends. macOS is a hard requirement, with no Linux-container substitute.

The same applies to Photos, Notes, Drive, Reminders, Safari sync, Voice Memos, Find My, Home, and Shortcuts. These run through iCloud sync and native macOS frameworks, Apple has published no third-party authorization scopes for them, and a Mac signed in with the Apple Account is the access path for each.

Which transport does each Apple service use?

This table shows the transport for each service and Figment's current availability.

Apple serviceApple account authorization?TransportFigment availability
MailYes: IMAP / SMTPProtocol (direct)No public connector
CalendarYes: CalDAVProtocol or Mac nativeSynthetic sandbox (read-only)
ContactsYes: CardDAVProtocol or Mac nativeSynthetic sandbox (read-only)
RemindersNoMac native / iCloud syncreminders:read scope
iMessageNoMessages.app / Macmessages:read scope, REST API
Passwords (iCloud Keychain)NoiCloud sync / Maccredentials:use scope
PhotosNoiCloud sync / MacNo public connector
NotesNoiCloud sync / Macnotes:read scope
DriveNoiCloud sync / MacNo public connector
Safari (tabs, bookmarks, Reading List)NoiCloud sync / MacNo public connector
Voice MemosNoiCloud sync / MacNo public connector
Find MyNoMac nativeNo public connector
HomeNoMac nativeNo public connector
ShortcutsNoMac-compatible actions onlyNo public connector
HealthNoNoneSee note

Calendar and Contacts: Apple's account-authorization path (CalDAV / CardDAV) is a direct integration option that any qualifying developer can apply for. Figment's synthetic sandbox endpoints for Calendar and Contacts operate through the Mac connection, not through Apple's CalDAV/CardDAV channel.

Health: Mac account sign-in does not provide readable HealthKit data. Health data requires a separate supported-device integration or a user-initiated export.

How does Figment map to both transports?

Figment issues grants through its hosted app-consent flow and executes native Apple operations on a signed-in isolated Mac. Your app never receives the Apple Account password. Native Apple sign-in and trusted-device approval happen as a separate step during connection setup on the Mac, not inside Figment's OAuth redirect.

Each service on a connection tracks its own status: connecting, needs_approval, syncing, ready, offline, reconnect_required, or revoked. A signed-in account does not mean every service is ready. Check GET /v1/connections/{connection_id} for per-service status before reads or sends. The response includes connection.services.<service>.state for each granted service, and services that are not ready reject operations.

Details that affect scope planning:

  • iMessage has two scopes. messages:read covers history and search. messages:send is a separate scope and requires the user to select specific existing conversations during consent.
  • Passwords, Notes, and Reminders are OAuth for iCloud scopes: credentials:use, notes:read, and reminders:read (/icloud).
  • Contacts and Calendar are available as synthetic read-only sandbox endpoints for development. Live customer access is not yet available.
  • Read and write permissions are separate grants. Revoking one app grant stops only that app. Disconnecting the Apple connection stops every app grant and queued operation for that connection.
  • iMessage history reflects what is on the connected Mac. Check historyComplete and hasMore rather than assuming full coverage, because history can remain incomplete even when the connector is ready.

Which should I choose?

Choose Apple's account authorization if your app needs only Mail, Calendar or Contacts and you can apply through Apple's request form. Choose a signed-in Mac connection if your app needs iMessage, Photos, Notes, Drive, Reminders or any other service in the table, because Apple publishes no authorization scope for those. Figment covers the Mac side: OAuth for iCloud has scopes for Passwords, Messages, Notes and Reminders, and Calendar and Contacts are read-only sandbox endpoints.

How does my app connect?

Figment is the authorization issuer. Your app starts the grant flow on Figment's hosted screen, not on an Apple authorization page. Figment issues the authorization code and tokens, and Apple does not issue a Figment grant.

Your app receives a Figment access token scoped to the user's granted services. Tokens normally expire after 900 seconds. Refresh using the supplied refresh token and store the rotated credential before making further API calls. The full PKCE flow and REST reference are in the OAuth for iCloud guide.

Pricing is per connected Apple Account: $14/month for the Apple Passwords plan or $29/month for the Full iCloud suite. Sandbox access is free and returns synthetic data. For live access, request a demo.

Connect Apple Account to register your app and open a free sandbox connection.

Related reading: OAuth for iCloud: Connect Apple Data to Your App, Build or Buy Your iMessage Connection Service

Connect Apple data to your app

Register your app and start with synthetic sandbox data. Choose the permissions your app needs.

Connect Apple Account

Sandbox is free. Live access is $14 or $29 per connected Apple Account, per month.