⏺ Locate

Learn how to save the location of a user accessing a content entry.

post

https://console.echoAR.xyz/location
This endpoint allows you to save the location from where a query is made or the location of the user.
Request
Response
Request
Form Data Parameters
key
required
string
Your API key.
entryID
required
string
The entry ID of the content entry being accessed.
lat
required
string
The latitude coordinate of the device accessing the content entry.
long
required
string
The longitude coordinates of the device accessing the content entry.
countryCode
optional
object
The two-letter country code of the location of the device accessing the content entry.
Response
200: OK
The location will be saved an associated with the entry
N/A

This API query must include a location. You must either send location coordinates (longitude and latitude) or a two-letter country code.