Phonecheck API to Check IMEI for iCloud Results

Phonecheck API to Check IMEI for iCloud Results

Description: PhoneCheck API to verify an Apple Device iCloud Lock information.

URL: https://clientapiv2.phonecheck.com/cloud/cloudDB/CheckiCloud/

Method: POST

Note - When repeatedly checking the same IMEI for a iCloud Status change, there is a 3 min grace period until the status will be updated.

Example: Make request for status 356700000000000 get iCloud On, wait 3 mins to make the new request for status 356700000000000 get iCloud Off.

Data Parameters

Value

Description

Data Parameters

Value

Description

Apikey

9cdbc7a1-1b9c-44ae-a98085104c71ea3e

API Authentication Key

Username

Kai2

Any station username

IMEI

356700000000000

Check IMEI of iCloud device

Error Response:

Code

Content

Code

Content

Status: 401 Unauthorized

“Post Data is missing”

Status: 401 Unauthorized

ApiKey Invalid - Contact Admin at

<a href='http://www.phonecheck.com/contact/'PhoneCheck> Contact Support</a>

Status: 401 Unauthorized

{

"message": "User has exceeded iCloud limit",

"isLicenseExpired": true

Postman Sample:

Successful Response - Status: 200 OK


Code

Content

Code

Content

Status: 200 OK

Device iCloud ON

{

"iCloudStatus": "ON",

"DeviceImei": "356706083008963",

"RawResponse": "356706083008963 Find My iPhone: ON"

}

Status: 200 OK

Device iCloud OFF

{

"iCloudStatus": "OFF",

"DeviceImei": "352014070914937",

"RawResponse": "352014070914937 Find My iPhone: OFF"

}

Sample Curl Call:


 

<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://cloudportal.phonecheck.com/cloud/cloudDB/CheckiCloud/", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_POSTFIELDS => "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"IMEI\"\r\n\r\n356706083008963\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContentDisposition: form-data; name=\"apiKey\"\r\n\r\n7240152a-ab74-4653-a2b8-6064714d2187\r\n-----WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"username\"\r\n\r\narspc\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"devicetype\"\r\n\r\nAndroid\r\n-----WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"carrier\"\r\n\r\nAT&T\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--", CURLOPT_HTTPHEADER => array( "Content-Type: application/x-www-form-urlencoded", "Postman-Token: 73ffeddc-8e90-45ce-b0d6-34372aa35068", "cache-control: no-cache", "content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW" ), )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }