Skip to content

iMessage Checker API: Real-time Phone Number Verification

Check whether a phone number has iMessage turned on. A number with iMessage turned on is in use on an iPhone, iPad or Mac.

Code example:

curl -X POST 'https://api.ekycpro.com/v1/check' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"service_type": "imessage", "identifier": "+1234567890"}'

Success response:

{
"success": true,
"data": {
"id": "chk_a1b2c3d4e5f6",
"identifier": "+1234567890",
"registered": true,
"billed": true
}
}

Error response (unable to determine, not billed):

{
"success": false,
"error": "NOT_FOUND"
}

HTTP Request

POST https://api.ekycpro.com/v1/check

Request Headers

HeaderDescription
X-API-KeyYour API key (required)
Content-Typeapplication/json

Request Body

FieldTypeRequiredDescription
service_typestringYesimessage
identifierstringYesPhone number in E.164 format

Response Fields

FieldTypeDescription
successboolWhether the request succeeded
data.identifierstringThe checked identifier
data.registeredboolWhether iMessage is turned on for the number
data.idstringUnique check request ID
data.billedboolWhether this request was billed

Response Time

Most checks return within a few seconds, but some take longer. If no result is ready within 20 seconds, the API returns NOT_FOUND and the request is not billed. You can retry the same number a little later.

NOT_FOUND

"success": false with "error": "NOT_FOUND" means no result could be obtained for this number — including when the check times out or cannot give a definite answer. NOT_FOUND is never billed, and it does not mean iMessage is turned off. You can retry later.

Status Codes

StatusDescription
200Check completed
400Bad request
401Unauthorized
500Server error