This is an end-to-end example of Reincubate's iCloud API. It uses a slightly tweaked version of ricloud-js, adapted to browsers.
The workflow is simple: we introduce our API credentials, sign in to our account and then proceed to download either data feeds, or file ids.
The API explorer and all Reincubate's
ricloud clients offer by default a set of test credentials that only allow access to list the installed apps. To get access to more data types or features, please sign up for an API key.
First step is to login through the /c/sign-in/ endpoint
Perform 2FA challenge
This account has 2FA enabled, so we'll need to use the /c/perform-2fa-challenge/ endpoint to start the 2FA challenge against one of the devices.
Submit 2FA code
After that, we'll get the 2FA code on that device and we'll submit it to the /c/submit-2fa-challenge/ endpoint.
Complete sign in
After the 2FA code has been submit, call /c/sign-in/ in order to retrieve account information.
Note that this call must be made within a minute of the /c/submit-2fa-challenge/ call.
With the /c/download-data/ endpoint we can download data feeds from different apps.
With the /c/download-file/ endpoint, we can download files directly with their file ID. We can obtain these IDs from the data feeds (for example, attachments or photo ids) or use well-known file ids, like:
- SMS DB -
- Viber DB -
- Contacts DB -