OAuth for iCloud developer guide

Use Your Own Mac or a Hosted Apple Connection

Both paths use the same API, the same $29/month per connected Apple Account, and the same scoped grants. Your own Mac has iMessage history on day one. A hosted connection needs no hardware but starts with an iCloud sync.

Figment editorial teamPublished Updated Facts checked November 12, 2026

Use your own Mac if you already have one that stays on and is signed in to your Apple account. Use a hosted Apple connection if you want no hardware to run. Both paths expose the same API, carry the same $29 per connected Apple Account per month for the Full iCloud suite, and use the same scoped grant model. The differences are who keeps the hardware running and how much iMessage history is cached when your first query lands.

Why does every iCloud bridge need a Mac?

iMessage has no public server-side API, so reading or sending messages requires a macOS environment with the Messages app signed in. A self-run bridge reads the Messages app's local chat.db database and needs a Mac that stays signed in and online at all times. Figment follows the same constraint and adds a hosted API that manages app grants and message actions, so your app calls a standard REST endpoint instead of managing a macOS process.

Mail, Calendar, and Contacts are different. Apple's documented account authorization lets apps reach those services through standard protocols, and they may not need a Mac to stay on in every configuration. The own-Mac-versus-hosted choice matters most for iMessage and other native-macOS operations.

What does "your own Mac" mean here?

You run Figment's connection agent on a Mac you own and keep online. The Mac is signed in to your Apple account, iMessage is active, and your iPhone's SMS/MMS forwarding is likely already paired with it.

The advantage is iMessage history from day one. A Mac signed in for weeks or months already holds a substantial local chat.db, so when the connector reaches ready, that history is available without waiting for an initial iCloud sync.

The trade-off is that you own uptime. If the Mac sleeps, restarts, or leaves the network, the connection reports offline or reconnect_required. Figment shows that status to your app immediately but cannot recover your hardware. Disable sleep and use a stable network connection before treating this as production infrastructure.

Even on your own Mac, check historyComplete and hasMore in message responses before treating a result set as the full record. iCloud sync may not have finished, and locally available history is bounded. It is not a guaranteed complete full-text index.

What does a hosted Apple connection mean?

Figment provides the isolated Mac. During setup you sign in to your Apple account on the hosted Mac and complete the trusted-device approval on your iPhone or another Apple device. Figment's worker handles the macOS side from there, and none of your hardware needs to stay on.

The cost is sync time on first connection. The hosted Mac is new to your Apple account, so iMessage history must sync from iCloud before it is fully available. For long histories that can take hours to days. The connector status moves from syncing toward ready as each service comes online, and non-ready services reject operations, so check status before querying.

SMS/MMS forwarding needs a separate one-time pairing step, in which your iPhone recognizes the hosted Mac as a trusted relay for SMS bridging. Budget time for it before your first SMS test.

How do the two paths compare on availability, history, and cost?

Work through this table before you set up a connection. The API surface, pricing, and grant model are the same either way.

FactorYour own MacFigment hosted connection
Hardware you manageYesNo
Uptime responsibilityYouFigment
iMessage history on day 1Likely available (already synced)Requires iCloud sync, may take hours to days
SMS/MMS forwarding readyPhone likely already pairedOne-time iPhone pairing step needed
Initial setupInstall agent, sign in, approveSign in, approve on iPhone
Plan fee (Full iCloud suite)$29/mo per connected Apple Account$29/mo per connected Apple Account
SandboxFreeFree
Mac hardware costExisting hardwareMac rental is a separate product

The $29/month fee covers OAuth for iCloud: the consent screen, scoped app grants, and the API. It does not include direct access to a Mac, and Mac rentals are a separate Figment product. See the product page for the plans.

What stays the same on both paths?

The API, the scopes, and the grant model are identical.

  • API. Your app calls GET /v1/connections/{connection_id} and related endpoints on https://figment.so/api/icloud, authenticated with a Figment access token, not an Apple password or any Mac worker credential.
  • Scopes. messages:read covers history and search. messages:send covers sends and is a separate grant that must name the specific existing conversations you can write to.
  • Behavior. Idempotency requirements, sandbox and live mode behavior, and connection status values are the same.
  • Grants. Figment issues the app-access token, not Apple. Your app never receives the Apple account password. Revoking a grant at /icloud/account stops that app's access without affecting other apps connected to the same Apple account.

Switching from your own Mac to a hosted connection, or the reverse, does not require rewriting your integration.

Which should I choose?

If you have a Mac that stays on and your Apple account is already signed in, start with your own Mac. The iMessage history advantage is real and you skip the sync wait.

If you want zero hardware overhead, are building a hosted product, or have no spare Mac, choose the hosted connection and budget time for the initial iCloud sync and the SMS pairing step.

Connect Apple Account to start either path. Sandbox is free. The Full iCloud suite is $29/month per connected Apple Account, and you request a demo for live access.

For the full list of Apple services Figment exposes, see OAuth for iCloud: Connect Apple Data to Your App. For the trade-offs of running your own Mac, see 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.