Locate

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

Save a location

POST https://api.echo3D.com/location

This endpoint allows you to save the location from where a query is made or the location of the user.

Request Body

Name
Type
Description

key*

string

Your API key.

email*

string

Your email address

userKey*

string

Your authentication key

secKey*

string

Your Secret key. Only if enabled through the Security page.

entryID*

string

The entry ID of the content entry being accessed.

lat*

string

The latitude coordinate of the device accessing the content entry.

long*

string

The longitude coordinates of the device accessing the content entry.

countryCode

object

The two-letter country code of the location of the device accessing the content 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.

Last updated

Was this helpful?