Skip to main content

Create IP location

POST 

/api/web/v1/iplocations

Gets IP location information for an IP address. The IP location can be used to create an ExpectedLocation. Caller requires the USERRBASETTINGS:ADD permission.

Request

Body

required

    cityName string

    The city name--always returned in upper-case.

    countryCode string

    A two-character (alpha-2) ISO 3166-1 country code.

    ipAddress string

    The IPv4 Address.

    isp string

    The ISP name--always returned in upper-case.

    latitude float

    The latitude.

    longitude float

    The longitude.

    privateIpAddress boolean

    Whether the IP provided is a private IP Address. The value is only available when resolving an IP address to an IpLocation.

Responses

Successful

Schema

    cityName string

    The city name--always returned in upper-case.

    countryCode string

    A two-character (alpha-2) ISO 3166-1 country code.

    ipAddress string

    The IPv4 Address.

    isp string

    The ISP name--always returned in upper-case.

    latitude float

    The latitude.

    longitude float

    The longitude.

    privateIpAddress boolean

    Whether the IP provided is a private IP Address. The value is only available when resolving an IP address to an IpLocation.

Loading...