Skip to content

Get list of device locations
Stable

Request

Returns list of device locations

Security
apiKey
Path
enterprise_idstringrequired

A UUID string identifying this enterprise.

Query
limitinteger

Number of results to return per page.

offsetinteger

The initial index from which to return the results.

cURL
curl -i -X GET \
  'https://develop-api.esper.io/_mock/openapi/v1/enterprise/{enterprise_id}/report/location/?limit=0&offset=0' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

successful operation

Bodyapplication/json
countintegerrequired
nextstring or null, (url)
previousstring or null, (url)
resultsArray of objects(DeviceLocations)required
Response
{ "count": 0, "next": "string", "previous": "string", "results": [ {} ] }