Check phone connectivity
/api/v2/phone_ping
operationId: phone_ping
Live: https://gdapi.globaldata.net.au/api/v2/phone_ping · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/phone_ping
Tests the connectivity of one or more supplied phone numbers. This connectivity check will return a code indicating if the phone number is connected or disconnected.
Sandbox environment
When simulating queries in the sandbox environment, the connectivity response will be determined by the phone number ending:
| Number Type | Response | Description |
|---|---|---|
| Any number ending in 9999 | Simulate a timeout, will never return a result | |
| Any number ending in 999 | C | Simulate a slow result, takes 20 seconds but returns as connected |
| Any number ending in 998 | D | Simulate a slow result, takes 20 seconds but returns as disconnected |
| Any number ending in 997 | U | Simulate a slow result, takes 20 seconds but returns as undetermined |
| Any number ending in 99 | I | Phone number Not Supported / Invalid |
| Any number ending in 9 | D | Phone number is not connected |
| Any number ending in 8 | U | Phone number is undetermined |
| Any other number | C | Phone Number is connected |
Request body
Content type application/json.
The details of the record to enhance
| Field | Description |
|---|---|
phones |
string One or more (comma separated) 10 digit Australian phone number to be checked (0NSN format) |
timeout |
integer [10..300] or null Maximum number of seconds to wait for connectivity results before returning.
If a result is not available within this time, the phone will be returned with
a ping_result of |
Responses
Result of phone ping check
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
api_reference |
string (uuid) |
results |
array of objects The checked phone numbers and their connectivity status |
results[]. |
string The checked phone number in 0NSN format |
results[]. |
string The result of the connectivity check for the phone
|
results[]. |
string Additional information about the result |
results[]. |
string The carrier of the phone number (if available) |
results[]. |
string Approximate geographic location for the phone number (if available) |