Retrieve the location of a geo IP entry

Returns the location that one geo IP entry resolved to. The id is the id of the geo IP entry, not of a contact or a location. Returns an empty object {} when the entry has no location, for example when the location record was removed. Returns 404 if no geo IP entry has the id.

📘

Getting a Contact's geo-ip ID

Retrieve a contacts list of geo-ips with a GET call to: /contacts/{id}/geoIps

Documentation

📘

Geo IP/Address FAQ:

Is 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 is the geo ip saved?
A Contact's geo IP is retrieved when the Contact fills out any ActiveCampaign form.

{
    "geoAddress": {
        "ip4": "1234567890",
        "country2": "US",
        "country": "United States",
        "state": "New York",
        "city": "New York",
        "zip": "10001",
        "area": "0",
        "lat": "40.7128",
        "lon": "-74.0060",
        "tz": "America/Chicago",
        "tstamp": "2023-12-20T14:14:46-06:00",
        "links": [],
        "id": "3"
    }
}
Path Params
int32
required

ID of the geo IP entry.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json