ANT
  • Introduction
    • Authentication
    • Number
    • Errors
    • Rate Limits
  • ANT API
    • Balance
      • Retrieve balance
    • Sms
      • Marketing SMS
        • Send Marketing SMS
        • Send Bulk Marketing SMS
        • Scheduled Marketing SMS
        • Marketing SMS CallBack
      • 🔥OTP SMS
        • Send OTP SMS
        • OTP SMS CallBack
        • ⭐OTP Backfill Interface
      • Notification SMS
        • Send Notification SMS
        • Send Bulk Notification SMS
        • Scheduled Notification SMS
        • Notification SMS CallBack
    • Voip
      • IVR
        • IVR File Upload
        • IVR Task
        • IVR Callback
      • Call
        • Call the phone
        • Call record callback
    • Phone Number Validation
      • HLR Sever
      • VOICE HLR
      • Check Number Status
  • Webhooks
    • Test Webhooks
  • Demo
    • Java Demo
Powered by GitBook
On this page
  1. ANT API
  2. Phone Number Validation

VOICE HLR

PreviousHLR SeverNextCheck Number Status

Last updated 28 days ago

URL

Request Method

POST

Content-Type

application/json

Request Body

Filed
Type
Type
Type

String

Yes

API Key(AccessKey ID+ AccessKey Secret)

String

Yes

detection number,receive phone format like: countryCode+phone: 00628121****213,only supports 0062.

Request Example:

{
        "authSecret": "6b43ccc24*********499",
        "number": "0062*****8606"
}

Response Example:

{
	"msg": "SUCCESS",
	"code": 200,
	"result": {
		"result": "INVALID",
		"number": "0062*****8606",
		"sip": 502
	}
}

Response parameter description:

Filed
Type
Filed

msg

String

response result information

code

Integer

response status code

result

String

response result parameter(Only available for code=200)

result.number

String

detection number

result.result

String

detection result(SUCCESS, INVALID, TIMEOUT) SUCCESS:Ringing INVALID:The test result returns failure,view SIP TIMEOUT:No results returned in 20 seconds If the returned status is not one of the above three, please contact us

result.sip

Integer

200:SUCCESS 408:TIMEOUT 502:INVALID 500:INVALID ...

https://api.antgst.com/sms/hlr/send/json
number
authSecret