OAuth for iCloud developer guide

Fix Missing iMessage History on a Connected Mac

Turn on Messages in iCloud on the Mac and the iPhone with the same Apple Account, then click Sync Now. Figment's Mac worker reads only what Messages has already synced locally.

Figment editorial teamPublished Updated Facts checked November 11, 2026

Missing iMessage history on a Mac usually comes from Messages in iCloud being off on the Mac or the iPhone, a missing prerequisite, or full iCloud storage. Start with the Messages app itself, because Figment's Mac worker reads from whatever Messages has already synced locally. Mac-local message data is the outer boundary of what the API can return, and API grant scope and pagination are separate constraints.

What must be in place before Messages in iCloud works?

Three things must be in place on a Mac.

Two-factor authentication. Messages in iCloud requires 2FA on the Apple Account. Confirm it at appleid.apple.com under Sign-In and Security → Two-Factor Authentication.

iCloud Keychain. iCloud Keychain is required for Messages in iCloud (see Apple's setup guide). On macOS Ventura or later, find the Keychain option under System Settings → [your name] → iCloud (the exact label varies by OS release). On earlier macOS: System Preferences → Apple ID → iCloud → Keychain.

Messages in iCloud toggle. Each device has its own switch. On the Mac, open Messages → Settings → iMessage, check Enable Messages in iCloud, then click Sync Now. Initial sync can take time depending on message volume, and you can send and receive while it runs.

Enable the same toggle on the iPhone:

iOS 17.2 or later
Settings → [your name] → iCloud → See All → Messages in iCloud → Use on this iPhone
iOS 16–17.1
Settings → [your name] → iCloud → Show All → Messages → Sync this iPhone

The Apple Account shown in Messages → Settings → iMessage on the Mac must match the one in Settings on the iPhone. A mismatch can cause the Mac to show only messages that arrived after the most recent sign-in.

What about SMS, MMS, and RCS messages?

When Messages in iCloud is enabled, it includes iMessage, SMS, MMS, and RCS, so a separate Text Message Forwarding switch is not always required. New SMS, MMS, and RCS traffic requires an iPhone that is on, connected, and able to send and receive. Already-synced carrier messages remain accessible on the Mac even if the iPhone is temporarily offline (Apple Support HT102545).

If you enable Text Message Forwarding separately, go to Settings → Apps → Messages → Text Message Forwarding on the iPhone and toggle on each target device. A verification code appears on the target device only if that device does not use two-factor authentication. Enter it if prompted.

Which step is failing?

Walk the tree from top to bottom and resolve the first "No" before you continue, because each step depends on the ones above it. No step deletes messages.

Is Messages signed into your Apple Account on this Mac?
└─ No  → Messages > Settings > iMessage, sign in
└─ Yes ↓

Is two-factor authentication active on this account?
└─ No  → Enable at appleid.apple.com > Sign-In and Security
└─ Yes ↓

Is iCloud Keychain turned on?
└─ No  → System Settings > [your name] > iCloud (find Keychain; label varies by OS)
└─ Yes ↓

Is "Enable Messages in iCloud" checked on this Mac?
└─ No  → Messages > Settings > iMessage > check it, then Sync Now
└─ Yes ↓

Is Messages in iCloud also enabled on iPhone with the same Apple Account?
└─ No  → Follow the iPhone steps above for your iOS version
└─ Yes ↓

Is iCloud storage full?
└─ Yes → Free space or upgrade at icloud.com/settings; sync stalls when full
└─ No  ↓

Is history appearing in Messages now?
└─ Yes → Done. Using a Figment connection? Check connector status below.
└─ No  → See "What gaps can settings not reach?" below.

How do I check the Figment connector?

With Messages in iCloud configured, verify that the Figment connector is also ready before you treat an empty API result as a confirmed absence. Connection and service status are visible at /icloud/account. You can also query the connection directly:

GET https://figment.so/api/icloud/v1/connections/con_...
Authorization: Bearer ACCESS_TOKEN

A successful response has the shape {connection:{id,mode,services,...}}. Each service is an object, so check connection.services.messages.state. The endpoint may return a non-2xx response for a revoked or non-ready connection instead of a state object, so treat any non-2xx as a prompt to check the account page.

A ready state means the connector is active, not that all available iCloud history has arrived on this Mac. The messages:read scope covers both history and search, and search scans locally available history, so messages that never reached this Mac are outside its reach. When reading history or searching, check both hasMore and historyComplete before you draw conclusions about coverage.

If "mode":"sandbox" appears in the response, the data is synthetic and cannot reflect real missing history. A live connection is required for real reads.

What gaps can settings not reach?

Full iCloud storage. When the account is at capacity, incoming messages stop syncing. Free up space at icloud.com/settings, then click Sync Now in Messages.

Recently deleted messages. Deletions sync across all enrolled devices. If a message was deleted recently, check View → Recently Deleted in the Mac Messages app. Items there are recoverable for up to 30 days, and Apple states that deleted messages are permanently removed from iCloud after 40 days (Apple Support).

Gaps from interrupted sync. If Messages in iCloud was off or storage was full for a period, some messages from that window may not be in iCloud. Re-enabling sync and clicking Sync Now is the first step, and messages still present on a connected device may sync back. For gaps that persist after all settings are confirmed, the originating device is the most direct place to look.

What does OAuth for iCloud cost?

Messages is part of the Full iCloud suite, which costs the developer $29/month per connected Apple Account. Sandbox is free. Connect Apple Account to start in the sandbox, or request a demo for live access.

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.