Address Lookup by Contact
/api/v2/address_lookup_by_contact
operationId: address_lookup_by_contact
Live: https://gdapi.globaldata.net.au/api/v2/address_lookup_by_contact · Sandbox: https://sandbox-gdapi.globaldata.net.au/api/v2/address_lookup_by_contact
The address lookup by contact query will return the GNAF ID which corresponds to a given email address or phone number from the Global Data universe.
Note: If both a phone number and email address are supplied, the phone number will searched first, and if no match is found, the email address will be searched.
Sandbox environment
When simulating queries in the sandbox environment, the following records will return the matching GNAF ID:
| Phone | GNAF ID | |
|---|---|---|
| jsmith1998@example.com | 0399999999, 0491222111 | GAVIC421647320 |
| 0399998888 | GAVIC419608268 | |
| mary_jones89@example.com | 0399995000 | GANSW716615055 |
| rp_brown71@example.com | GANSW712900961 |
Query parameters
| Field | Description |
|---|---|
email |
string The email address to search for. Email addresses are not case sensitive. |
phone |
string The phone number to search for. Phone numbers must be in 0NSN format (10 digits, no spaces or other intermediate characters and starting with a 0) eg 0299995000, or 0491570006. |
Responses
Result of address lookup
application/json
| Field | Description |
|---|---|
message |
string A message indicating the result of the request. This will be |
address_id |
string The GNAF address id of the address (supplied if the request was successful) |
record_date |
string (date) The date the record was create or last updated |
api_reference |
string (uuid) A unique identifier for this request |