GET
/
locations
curl --request GET \
  --url https://channels-service-alpha.fourvenues.com/locations \
  --header 'X-Api-Key: <api-key>'
{
  "data": [
    {
      "unic_id": "orgAbcdefghi1234567890-locAbcdefghi1234567890",
      "location_id": "5e4f4b1b1f6b4b001f6b4b001",
      "organization_id": "5e4f4b1b1f6b4b001f6b4b001",
      "name": "Valencia",
      "address": "Carrer de Salamanca",
      "number": "43",
      "city": "Valencia",
      "country": "Spain",
      "full_address": "Carrer de Salamanca, 43, Valencia, Spain",
      "latitude": 39.4651339,
      "longitude": -0.3658872,
      "timezone": "Europe/Madrid"
    }
  ],
  "success": true
}

Authorizations

X-Api-Key
string
header
required

Query Parameters

organization_id
string

Filter the events by organization id.

lat
number

Filter by zone radius. Latitude of the center radius. This field is required if lng or radius are pass.

lng
number

Filter by zone radius. Longitude of the center radius. This field is required if lat or radius are pass

radius
number
default:5

Filter by zone radius. Radius of the zone to search in kilometers (Max 500). This field is required if lng or lat are pass

limit
integer
default:50

Limit the number of events returned.

offset
integer
default:0

Offset the events returned.

Response

200
application/json
OK
data
object[]

Complete information of an specific location. Also contains timezone information.

success
boolean