The IP addresses recorded for this contact, with the campaign and message they were seen on. Each entry carries the address as a number in text form (ip4) and the id of the location it resolved to (geoAddress); links.geoAddress leads to that location. At most 100 entries are returned, in no guaranteed order; limit and offset are ignored on this path. Returns 404 if the contact does not exist.
{
"geoIps": [
{
"contact": "299",
"campaignid": "0",
"messageid": "0",
"geoaddrid": "1",
"ip4": "1234567890",
"tstamp": "2023-12-20T13:26:08-06:00",
"links": {
"geoAddress": "https://:account.api-us1.com/api/3/geoIps/1/geoAddress"
},
"id": "1",
"geoAddress": "1"
},
{
"contact": "299",
"campaignid": "0",
"messageid": "0",
"geoaddrid": "2",
"ip4": "1234567890",
"tstamp": "2023-12-20T13:35:23-06:00",
"links": {
"geoAddress": "https://:account.api-us1.com/api/3/geoIps/4/geoAddress"
},
"id": "4",
"geoAddress": "2"
}
]
}
Geo Ips FAQIs the location accurate?
IP address geolocation uses IP-to-location databases to determine which IP range the provided IP falls within. The primary source for IP address data is the regional Internet registries which allocate and distribute IP addresses amongst organizations located in their respective service regions. This will not be the exact location of the Contact.How do I turn this into a Contact's coordinates or address info?
To get address information, use an
idfrom a selected geo ip in the returned list, and make aGETcall to /geoAddressWhy are multiple locations listed?
If a Contact completes a form and the saved geo ip differs from the value currently saved, this list is appended. The highest
geoAddressvalue is the most recent.How is the geo ip saved?
A Contact's geo IP is retrieved when the Contact fills out any ActiveCampaign form.
