Send a Verification
This request is used to send an HLR verification.
URL
POST
https://api.smspartner.fr/v1/hlr/notify
Limit of 360 requests per minute. If you exceed this limit, you will receive an HTTP 429 response.
Required Parameters
apiKey
phoneNumbers
Mobile numbers to verify. Must be in international format (+336xxxxxxxx). For multiple numbers, separate them with commas. Max: 500 numbers per request.
Optional Parameters
tag
String of up to 20 characters.
notifyUrl
Allows you to receive the HLR result via a POST request to a custom URL. Example of HLR request notification below.
_format
json
or xml
Requests
Response
Errors
Error Codes
1
API key is required
2
Phone number is required
3
Numbers must be separated by commas
10
Invalid API key
200
Everything went fine!
HLR Notification Example
HLR Error Codes
0
NO_ERROR
No error.
1
EC_UNKNOWN_SUBSCRIBER
The number doesn't exist or is not assigned to any active user in the operator's database.
5
EC_UNIDENTIFIED_SUBSCRIBER
Subscriber not identified.
6
EC_ABSENT_SUBSCRIBER_SM
Subscriber unreachable — likely due to phone being turned off or in a poor signal area.
7
EC_UNKNOWN_EQUIPMENT
The device was not recognized by the Equipment Identity Register (EIR).
8
EC_ROAMING_NOT_ALLOWED
The subscriber is roaming and roaming delivery is not guaranteed due to lack of inter-operator agreements.
9
EC_ILLEGAL_SUBSCRIBER
Illegal subscriber.
12
EC_ILLEGAL_EQUIPMENT
Illegal equipment.
13
EC_CALL_BARRED
Subscriber is on DND (Do Not Disturb) and does not receive service traffic.
27
EC_ABSENT_SUBSCRIBER
Subscriber is offline — often due to the phone being off.
255
EC_UNKNOWN_ERROR
Unknown error.
Last updated