Geo-Verify
Public API endpoints for Geo-Verify
By passing in the appropriate parameters it will a checking of client location
Path parameters
projectIdstring · uuidRequired
M/IC project id
Responses
200
user created
application/json
403
Unauthorized
application/json
get
GET /v1/locations/projects/{projectId}/check HTTP/1.1
Host: geo-blocking-public-service-dev-int24.lvis.io
Accept: */*
{
"result": 1,
"message": "your location is supported",
"data": {
"country": {
"geoname_id": 2963597,
"is_in_european_union": true,
"iso_code": "IE",
"names": {
"de": "Irland",
"en": "Ireland",
"es": "Irlanda",
"fr": "Irlande",
"ja": "アイルランド",
"pt-BR": "Irlanda",
"ru": "Ирландия",
"zh-CN": "爱尔兰"
}
}
}
}
By passing in the appropriate parameters it will a checking of client location
Path parameters
projectIdstring · uuidRequired
M/IC project id
eventIdone ofRequired
M/IC event identifier - in uuid format
string · uuidOptional
string · enumOptionalPossible values:
Responses
200
user created
application/json
403
Unauthorized
application/json
get
GET /v1/locations/projects/{projectId}/events/{eventId}/check HTTP/1.1
Host: geo-blocking-public-service-dev-int24.lvis.io
Accept: */*
{
"result": 1,
"message": "your location is supported",
"data": {
"country": {
"geoname_id": 2963597,
"is_in_european_union": true,
"iso_code": "IE",
"names": {
"de": "Irland",
"en": "Ireland",
"es": "Irlanda",
"fr": "Irlande",
"ja": "アイルランド",
"pt-BR": "Irlanda",
"ru": "Ирландия",
"zh-CN": "爱尔兰"
}
}
}
}
Was this helpful?