Place Management
Get Places
API Documentation
Dispatch and Routing
Location
Account Management
Place Management
Reports
Place Management
Get Places
This endpoint retrieves 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
}
REQUEST
POST https://api.hellotracks.com/api/getplaces
{
"data": {
"query": "<place-name>", // optional
"uids": ["<place-uid>"], // optional
"max": 500 // optional, defaults to 500
}
}
query
is an optional filter to retrieve only places containing the query value.
uids
is an optional filter to retrieve only places with specific uids. Array of uids.
max
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
}
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
}