Skip to main content
Version: Next

Resolve an IP address to a geographic location

GET

/org/{tenant_code}/v2/messaging/geolocation

Platform support: MT

Token Cost: 1 token (low)

Resolves an IPv4 or IPv6 address to its approximate city, country, timezone and coordinates using the locally installed MaxMind GeoLite2 City database. Typically used to show where a live chat visitor is connecting from.

Addresses that are valid but absent from the database (private ranges, for example) return 200 with empty names and zeroed coordinates rather than an error, so clients must handle an empty result.

Request​

Responses​

Geolocation of the given IP address.