Place Management
Get Places
This endpoint gets or creates a new user.
curl -X POST https://api.hellotracks.com/api/getplaces --header 'API-Key: ...' -d '
{
"data": {}
}
'
{
"places":[
{
"creator":"Top Services",
"address":"1199 East Beach Road, San Francisco, California 94129, United States",
"color":"",
"data":[
],
"city":"San Francisco",
"uid":"n1ub11",
"country_code":"US",
"phone":"",
"postalcode":"94129",
"name":"East beach",
"location":{
"lng":-122.449046,
"lat":37.8059467
},
"state":"California",
"radius":50,
"email":"",
"linkedForms":""
}
],
"status":0
}
REQUEST
POST https://api.hellotracks.com/api/getplaces
{
"data": {
"query": "<place-name>", // optional
"uids": ["<place-uid>"], // optional
"max": 100
}
}
query
string
query
is an optional filter to retrieve only places containing the query value.
query
array
uids
is an optional filter to retrieve only places with specific uids. Array of uids.
max
int
default: 500max
is an optional value to limit number of results.
RESPONSE
{"status":0, "places": [...]}
curl -X POST https://api.hellotracks.com/api/getplaces --header 'API-Key: ...' -d '
{
"data": {}
}
'
{
"places":[
{
"creator":"Top Services",
"address":"1199 East Beach Road, San Francisco, California 94129, United States",
"color":"",
"data":[
],
"city":"San Francisco",
"uid":"n1ub11",
"country_code":"US",
"phone":"",
"postalcode":"94129",
"name":"East beach",
"location":{
"lng":-122.449046,
"lat":37.8059467
},
"state":"California",
"radius":50,
"email":"",
"linkedForms":""
}
],
"status":0
}